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

Home » Public Forums » archive » Colorbar Labels Issue
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: Colorbar Labels Issue [message #65169 is a reply to message #65071] Wed, 11 February 2009 14:03 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
plim.dreaming@gmail.com writes:

> the labels on my colorbar do not correspond to the tickmarks!!
> Here is what I am writing:
> colorbar, ncolors=256, bottom=3, divisions=lev-1, ticknames=round
> (levelsA/fraction),range=[minrho,maxrho],format='(I4)', position =
> pos, color=black, charsize=0.5
>
> and the plot I get has the labels starting at around the third
> tickmark and continuing past the edge of the colorbar! So, in effect,
> it looks like the ticknames are all shifted to the right.
>
> Any suggestions???

Pilot error. :-)

I see a couple of errors right off the bat. (1) The Ticknames
keyword requires a string, and you are passing integers, and (2)
The Color keyword requires a string, and I doubt this is what
you are passing it.

As to the rest, we don't know what any of the variables are!!
How could we possibly debug this for you!?

But, given what I see, pilot error is the most likely cause
of your problems.

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: Re: majority voting
Next Topic: Re: How to display two images using tvscl

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

Current Time: Sun Oct 12 02:35:36 PDT 2025

Total time taken to generate the page: 2.24126 seconds