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: Wed, 20 Apr 2011 23:36:10 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0

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

Here is code that appears to address the scale
problem in fltk due to use of single.  

It was claimed that the code could be placed in 
axis.m (around line 280) instead of in axes.m
but after putting the code in axis.m I found
that essentially the same code was needed in axes.m.
For example plot([1 10e40]) does not call axis.m
at all.  So, for now, there is duplicated code.
This code should be made into a called function.

I am posting this code for review.  There may well be
a better way to do this.  The code issues a warning and
rescales the plot.  This will prevent various forms 
of inappropriate behavior.

After any comments I will try the cleanup.

Michael


(file #23281)
    _______________________________________________________

Additional Item Attachment:

File name: fltk_axes.diff                 Size:3 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]