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

Home » Public Forums » archive » Re: Using [XYZ]TICKFORMAT for dynamic formatting
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: Using [XYZ]TICKFORMAT for dynamic formatting [message #66478 is a reply to message #66475] Wed, 20 May 2009 16:40 Go to previous messageGo to previous message
Mark[1] is currently offline  Mark[1]
Messages: 66
Registered: February 2008
Member
On May 20, 3:09 am, Paul van Delst <paul.vande...@noaa.gov> wrote:
> The problem is that I want the format in the "lowticks" function, the "f7.3", to be the
> same as those automagically chosen by IDL in the plots where the xtickformat defaults.

You can pass a function to [XYZ]TICKFORMAT, and in this function you
can do anything you want, including calling the IDL function
FORMAT_AXIS_VALUES, which is the one that is called to format axis
values (that figures).

Actually, not quite anything you want, because the function passed to
[XYZ]TICKFORMAT function works on tick value at a time, so the number
of decimal places is likely to vary. So where IDL would show...

1.0 1.5 2.0

...FORMAT_AXIS_VALUES would give

1 1.5 2
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Transporting code from one mac to another: Problem connection to X windows server...
Next Topic: New Business Venture

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

Current Time: Thu Oct 09 19:59:12 PDT 2025

Total time taken to generate the page: 0.48121 seconds