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

Home » Public Forums » archive » Re: CONTOUR: how to get rid of that zero tick name?
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: CONTOUR: how to get rid of that zero tick name? [message #71197 is a reply to message #71196] Mon, 07 June 2010 06:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Timm Weitkamp writes:

> I would like to make a CONTOUR plot with self-defined tick names, like
> in this example (where the x tick names are user-defined):
>
> IDL> contour, dist(3), [-1,0,1], [-1,0,1], xticks=3, xtickv=[-1,0,1],
> xtickname=['a', 'b', 'c']
>
> That should work, I thought. But it doesn't. What happens is tha IDL
> overplots a zero ("0") over the "b". (See screenshot of the plot at
> <http://www.sendspace.com/file/0uhh4q>.)
>
> Does this happen on other IDL installations than mine? Is it a bug? A
> feature? And, above all: how can I get rid of this behavior? Any help
> appreciated.

You have a mismatch between the number of tick *intervals*
you specify (with TICKS) and the number of tick names
you provide. If you provide three tick names, then you
only want two tick intervals. If you put XTICKS=2 this
will work the way you expect it to work.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Vendor daemon is down
Next Topic: Re: A Contour Tracking Problem

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

Current Time: Wed Oct 08 19:33:30 PDT 2025

Total time taken to generate the page: 0.00453 seconds