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

Re: Log IDLgrAxis



Pavel A. Romashkin writes:
> 
> Well, this is what I see:
> 
> IDL> junk = obj_new('idlgraxis')
> IDL> junk -> setproperty, /log
> % IDLGRAXIS::SETPROPERTY: Warning: Infinite plot range.
> IDL> junk -> setproperty, range=[0., 10000.], xcoord_conv =
> normalize([0., 10000.])
> % Compiled module: NORMALIZE.
> % IDLGRAXIS::SETPROPERTY: Warning: Infinite plot range.
> 
> ???

Well, I'm not surprised. Log plots have never
cared for zeros too much. :-(

How about this:

IDL> junk = obj_new('idlgraxis', range=[1,1000])
IDL> junk -> setproperty, /log
IDL> junk -> setproperty, range=[1., 10000.], $
IDL>       xcoord_conv =normalize([1., 10000.])

Remember that the default range on a axis object
is 0 to 1.

Cheers,

David
-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155