Problems with plotting with log scaling [message #4458] |
Fri, 23 June 1995 00:00 |
mathews
Messages: 6 Registered: January 1995
|
Junior Member |
|
|
If I plot a series of numbers that ranges from let's say 0 to 10e-4 such
as in the following IDL command:
plot, indgen(10)*.001, /ytype
then IDL will scale the value with 8 magnitudes of values from 10e-2 to
10e-16 because I believe that the precision is approaching zero, which is the
minimum value.
The problem is that you cannot see anything relevant in a log scaling
when the data should be plotted with a minimum at 10e-4 and not 10e-16.
If zero is a valid value is there any way around this besides explicitly
forcing the yrange = [10-4,10-2] or min_value = 10e-4 because the plots
are generated automatically and all the zero values would be lost.
Jason Mathews
--
------------------------------------------------------------ ------------------
Jason Mathews, Code 633.2 |National Space Science Data Center
NASA/Goddard Space Flight Center|email: mathews@nssdc.gsfc.nasa.gov
Greenbelt, MD 20771-0001 USA |http://coney.gsfc.nasa.gov/Mathews/jason.html
|
|
|