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 #71196 is a reply to message #71179] Mon, 07 June 2010 06:39 Go to previous messageGo to previous message
Timm Weitkamp is currently offline  Timm Weitkamp
Messages: 66
Registered: August 2002
Member
On Jun 7, 3:28 pm, David Fanning <n...@dfanning.com> wrote:
> 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.

Oops. Reading the manual more carefully would have helped. Sorry, and
thank you!

Timm
[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: Fri Oct 10 11:36:13 PDT 2025

Total time taken to generate the page: 0.56057 seconds