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

Home » Public Forums » archive » Re: how to suppress tick labels on x-y plot
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: how to suppress tick labels on x-y plot [message #54134 is a reply to message #54132] Fri, 18 May 2007 11:24 Go to previous message
cmancone is currently offline  cmancone
Messages: 30
Registered: May 2007
Member
I believe that what you want is [xyz]tickname. Pass it an array of
strings, with a blank charcter where you don't want a tick label, and
a null character where you do want one. For instance, if there are
only 3 lables (0,1, and 2), then you would want to try the following:

plot,xdata,ydata,xtickname=[' ','',''],ytickname=[' ','','']

You can just add more null characters for each additional axis label.

It seems that you can leave out as many on the end as you want. So,
if you only wanted to hide the first tick label, you could do this:

plot,xdata,ydata,xtickname=[' '],ytickname=[' ']

(at least, it works for me).

On May 18, 12:39 pm, t...@atmsci.msrc.sunysb.edu wrote:
> Hi,
>
> I have a plot and the x and y axes are labeled at 0,1,2, etc. I want
> to keep all, but not have the 0 labeled.
>
> Does anyone know how I can suppress the '0' label on my x and y axes?
>
> Thanks,
>
> Howie
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: www.eBankGame.com Buy WoW gold RS gold WG k gold
Next Topic: match 2 files

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

Current Time: Fri Oct 10 23:03:51 PDT 2025

Total time taken to generate the page: 0.27030 seconds