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

Home » Public Forums » archive » Re: unwanted tick label
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: unwanted tick label [message #20507] Thu, 29 June 2000 00:00 Go to previous message
John-David T. Smith is currently offline  John-David T. Smith
Messages: 384
Registered: January 2000
Senior Member
Mark Fardal wrote:
>
> Hi,
>
> when I try the following
>
> plot,findgen(5),xstyle=8
> axis,/xaxis,xtickv=[1.5,2.5],xticks=2,xtickname=['Lo','Hi'], $
> xtitle='Only Want String labels'
>
> it produces an "0.00" at the upper left corner. I don't want this.
> In the plot I need to make, I have a completely different numerical
> scale on this axis, so it's outright wrong. The label only appears
> if !x.crange is close to 0.
>
> Right now as a workaround I am setting !x.crange=0.001.
> Is there a better way to get rid of this label? Is this a bug
> or a feature?
>
> { x86 linux unix 5.2.1 Jun 4 1999} on Debian Linux
>
> thanks,
> Mark Fardal

XTICKS is the number of tick *intervals*. Which makes you wonder why it's not
called XTICKINTERVAL. In any case, the number of ticks produced is XTICKS+1.

JD

--
J.D. Smith /*\ WORK: (607) 255-6263
Cornell University Dept. of Astronomy \*/ (607) 255-5842
304 Space Sciences Bldg. /*\ FAX: (607) 255-5875
Ithaca, NY 14853 \*/
[Message index]
 
Read Message
Read Message
Previous Topic: HOW CAN I CALL AN EXTERNAL C ROUTINE FROM IDL ???
Next Topic: include file?

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

Current Time: Sun Oct 12 08:48:52 PDT 2025

Total time taken to generate the page: 1.28007 seconds