octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41581] "axis normal" does not undo "axis equa


From: H. G.
Subject: [Octave-bug-tracker] [bug #41581] "axis normal" does not undo "axis equal"
Date: Thu, 13 Feb 2014 19:27:29 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41581>

                 Summary: "axis normal" does not undo "axis equal"
                 Project: GNU Octave
            Submitted by: hardy
            Submitted on: Do 13 Feb 2014 19:27:28 GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: Any

    _______________________________________________________

Details:

The following little m-Skript demonstrates the behavior:


close all; figure;
x=[0:0.01:pi]; y=0.55.*sin(x);

plot(x,y);
title('no axis command yet');

input('go on?');
axis equal;
title('axis equal');

input('go on?');
axis normal;
title('axis normal');


What I expect from reading the octave manual is
* I plot something
* axis equal resizes my plot to make the x- and y-scale equal
* axis normal resets the plot to the default scales

And this is also the behavior that you get from Matlab if you run the very
same script.

But the last plot does NOT happen in the Octave 3.8.0 release! The command
"axis normal" does something, but not the right thing. Please have a look at
the resulting plots yourself.

Further information:
* This problem exists in octave 3.8.0 with gnuplot as well as with fltk.
* This problem exists on octave 3.8.0 on Ubuntu Linux as well as on Windows 7
(octave-mxe release 3.8.0-4)
* This problem exists in octave 3.6.2 with gnuplot as well as wiwth fltk.
(Only tested on Windows)
* This problem does NOT exist in octave 3.2.4. Neither under Linux nor under
Windows. (The doesn't seem to be a choice of graphics_toolkit at all in this
release.)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41581>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]