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

Home » Public Forums » archive » How to determine good tickmark formats?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to determine good tickmark formats? [message #4168] Tue, 09 May 1995 00:00
art.croucher is currently offline  art.croucher
Messages: 11
Registered: March 1995
Junior Member
I'm trying to write TICKFORMAT functions that display lat/lon axes as
unsigned numbers with a hemisphere indicator (17.25S).

But I'm having trouble calculating the correct format for the numerical
part. The TICKFORMAT function only processes one tickmark at a time,
so I'm having trouble getting it to use the same format for all the
tickmarks. (If the current tick is 17, but the next is 17.25, I want
F5.2 for both).

RSI tells me that there isn't any way to find either the default format
that IDL would calculate for this axis, or the array of tickvals that I
could use to find a standard format.

Since this function has to go into a LOT of procedures, I don't want to
do any other modifications to the procedures, or make any assumptions
that the range or ticks have been explicitly defined.

So how can I determine a common format for all the ticks, using only
system data that is ALWAYS defined?


Thanks,

Art Croucher JHU/APL

art.croucher@jhuapl.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Q: Labeling axes when using MAP_SET
Next Topic: Re: How to make menu GRAY?

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

Current Time: Thu Oct 09 23:50:20 PDT 2025

Total time taken to generate the page: 0.48558 seconds