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: Fri, 22 Apr 2011 06:43:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0

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

Later:

The problem with sombrero was that the test in axes.m
was incorrect.  I now have a patch which works for
sombrero.

However, this has revealed a new problem.  The limit
for "single" in the case of the sombrero plot is
approximately 4e+35.  This is a lot smaller than for
the 2D plots where the limit is about 1.3e38.  Somewhere
in the code values must occur which are above
realmax("single") even though the peak of the sombrero
is only about 4e35.

So, there are at least 2 choices:

1. Find max and min values for the axes which will
   allow a "correct" plot in all known cases and
   reset the axes to these values.  This will produce
   a valid plot of all the data that fix within the
   reset axes.  A max/min value around +-e35 may work.

2. Just issue the warning and let the plot appear as
   an unreadable mess.  If this uses the exact
   realmax/min("single") there will be error cases that
   are not caught.

While waiting for comments, I will clean up the code.

Michael


    _______________________________________________________

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]