|
From: Petr M. <mi...@ph...> - 2008-01-05 12:18:49
|
> > Gnuplot has been always excellent in handling negative ranges in log scales. > > For example, > > > > gnuplot> set xrange [-10:10]; set log y; plot 1/x > > I don't understand your example. The y axis range is auto-calculated > (correctly, it seems) as 0.1 to 1. There is no negative log range > there, and the negative y-values associated with the x=[-10:0] range > are ignored. If you try something like: > > gnuplot> set xrange [-10:10]; set yrange [-1:1]; set log y; plot 1/x; > > You will, as expected, get the error "y range must be greater than 0 for > log scale." This seems to be the case in 4.2 as well. OK, I should have written "Gnuplot has been always excellent in autoscaling log axis ranges." --- PM |