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

Home » Public Forums » archive » IDLgrAxis question.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLgrAxis question [message #65502 is a reply to message #38076] Thu, 05 March 2009 09:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
j.anctil@att.net writes:

> I am implementing some code in IDL which utilize the IDLgrAxis object.
> If I have an axis range which spans from say from -0.3 to 0.5 and
> would like to have the tick marks placed in such a way that the zero
> value of the axis is always labeled, how do I write code for that? Of
> course the limits could be any negative value to any positive value.
>
> The direct graphics CONTOUR command will do this automatically, and I
> need to be able to replicate this.

It seems to me the IDLgrAxis does this automatically.
Do you have some evidence that it does not?

IDL> o = obj_new('idlgraxis', 1, range=[-0.3, 0.5])
IDL> xobjview, o

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL help error for Scale3 procedure.
Next Topic: passing parameter from IDL to Java

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

Current Time: Fri Oct 10 19:35:03 PDT 2025

Total time taken to generate the page: 2.87623 seconds