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

Home » Public Forums » archive » axis and the like
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: axis and the like [message #10527 is a reply to message #10440] Fri, 05 December 1997 00:00 Go to previous message
Kevin Ivory is currently offline  Kevin Ivory
Messages: 71
Registered: January 1997
Member
David Fanning wrote:
> Kevin Ivory and Tim Osborn both came up with the same
> method for suppressing axis labels. Kevin wrote:

Actually, I was more proud of the second method that doesn't call
another external function. ;-)

> But what I've always done (and I am ashamed to say I
> don't even *really* know why it works) is this:
>
> Plot, data, XTickformat='(A1)'

The answer is, you are printing the first character of whatever STRING
makes of your numerical tick value. In most cases that will be a space.
To get the idea of what happens, compare
print, format='(a)', 1.
and
print, format='(a1)', 1.

I tried to find an example where your method fails, but that is not as
easy as I thought - perhaps impossible.

Cheers
Kevin
--
Kevin Ivory Tel: +49 5556 979 434
Max-Planck-Institut fuer Aeronomie Fax: +49 5556 979 240
Max-Planck-Str. 2 mailto:Kevin.Ivory@linmpi.mpg.de
D-37191 Katlenburg-Lindau, GERMANY http://www.gwdg.de/~kivory2/
[Message index]
 
Read Message
Read Message
Previous Topic: Applying scalar functions to arrays
Next Topic: opinions needed on IDL, PV-WAVE

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

Current Time: Sat Oct 11 11:50:22 PDT 2025

Total time taken to generate the page: 0.24116 seconds