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

Home » Public Forums » archive » Help with IDLgrAxis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Help with IDLgrAxis [message #11394] Wed, 08 April 1998 00:00 Go to previous message
El-Kady, Mostafa is currently offline  El-Kady, Mostafa
Messages: 2
Registered: April 1998
Junior Member
Hello,

I am trying to draw an axis with variable tick interval. As I understood
from the documents, I can use TICKVALUES to do that. So, here is what
I did:

ticks = [0, 0.1, 0.3, 0.8, 1.0]
text = OBJ_NEW('IDLgrText', STRING(ticks))
axis = OBJ_NEW('IDLgrAxis', 0, MAJOR=N_ELEMENTS(ticks), /EXACT, $
TICKTEXT=text, TICKVALUES=ticks)

The resulting axis has tickvalue of 0, 0.1, 0.3, 0.8, 1.0 as I want
it, but at equal intervals. From the GetProperty method, I get
TICKVALUES as 0.00 0.25 0.50 0.75 1.00

Has anyone got this problem?

Thanks.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL to C translator
Next Topic: bug in idl5.03

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

Current Time: Wed Oct 08 16:04:02 PDT 2025

Total time taken to generate the page: 0.00345 seconds