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

Home » Public Forums » archive » Re: Multiple xaxis labels
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: Multiple xaxis labels [message #58403] Mon, 28 January 2008 10:26 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
On Jan 28, 12:59 pm, Bill Gallery <wgall...@aer.com> wrote:
> Brian,
>
> Better yet, see the system variable !xtickformat:
>
> "Set this keyword to a string or a vector of strings. The string can
> be a format string or a string containing the name of a function that
> returns a string to be used to format the axis tick mark labels. If a
> vector is provided, each string corresponds to a level of the axis.
> " (see idl help on !xtickformat for more information.)
>
> You need to provide a function to format the labels for each level,
> then set:
>
> !xtickformat=['label_funct_1', 'label_funct_2, ...]
>
> This should do what you want.
>
> Cheers,
>
> Bill

Bill, that does look like it will work well, In my initial playing it
does not seem to be the most intuitive thing but so many things in IDL
are not that I am getting more and more used to them. Like the extra
"axis" that is drawn by default, but I have seen in help somewhere
examples that did not have that.


Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Europe/Africa province boundaries
Next Topic: working dir in IDL 7

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

Current Time: Sun Oct 12 07:27:40 PDT 2025

Total time taken to generate the page: 0.88120 seconds