comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Problems with plotting with log scaling
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problems with plotting with log scaling [message #4458] Fri, 23 June 1995 00:00
mathews is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: AIX shareable executables
Next Topic: Problems with PV-WAVE routine INVERT

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:23:07 PDT 2025

Total time taken to generate the page: 0.00406 seconds