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

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

[Octave-bug-tracker] [bug #32980] for backend FLTK, real is used for axe


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #32980] for backend FLTK, real is used for axes. double should be used
Date: Sun, 24 Apr 2011 00:27:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0

Follow-up Comment #11, bug #32980 (project octave):

Here is another update.  I found that all the tests
can be (probably must be) made in axes.m.  So, this
fix only updates axes.m

It can be implemented in 2 forms, using a variable
do_reset.  If do_reset is non-zero, the code changes
the axis limits be, possibly, "in range."  Here
"in range" means that the plot will have correct
axes and display any data that fits in the axes.

It is likely that the code should be used with do_reset = 0.
Then the axes are not changed, but a warning is issued.
The resulting plot will be garbage.

I plan to do more testing, but this is much better than
the last try.

Attached are 2 files:
diff -c on axes.m and the axes.m file.  For testing
just place the axes.m file in the current directory.

Michael


(file #23293, file #23294)
    _______________________________________________________

Additional Item Attachment:

File name: axes.m                         Size:4 KB
File name: axes_2.diff                    Size:2 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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