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

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

[Octave-bug-tracker] [bug #34656] default axis limits for log plots


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #34656] default axis limits for log plots
Date: Wed, 26 Oct 2011 23:30:05 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1

Follow-up Comment #4, bug #34656 (project octave):

I took a quick look. The gnuplot plotstream has the ranges below.


set xrange [1.000000000000000e-01:1.000000000000000e+00] noreverse;
set yrange [1.000000000000000e-01:1.000000000000000e+00] noreverse;


If I change the result to the ranges below, the lower limits are displayed
correctly.


set xrange [0.999999999999999e-01:1.000000000000001e+00] noreverse;
set yrange [0.999999999999999e-01:1.000000000000001e+00] noreverse;


Looks like a round-off problem. Over the years, I've seen similar problems
with Matlab. I normally fix it by doing something like below.


xlim = xlim .* [1-eps, 1+eps];
ylim = ylim .* [1-eps, 1+eps];
zlim = zlim .* [1-eps, 1+eps];


Should we do that in this case? Should the change be in graphics.cc or in
__go_draw_axes__.m?

If the former, can you take a look at how to best do that?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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