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

Home » Public Forums » archive » Colorbar with Color levels different than ticklevels
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 with Color levels different than ticklevels [message #47442 is a reply to message #47346] Tue, 07 February 2006 12:03 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
newbie16@hotmail.com writes:

> Like the subject heading suggests, I am trying to have a colour bar
> inserted with a smooth transistion of colours (about 60) from the min
> to max values. However, I only want the tickmarks to occur evenly
> spaced on ten levels. I must be missing something simple here, but for
> the life of me I can't figure it out....
>
> Changing divisions makes a mess.
> I can get a colour bar with only ten colours fine, but doesn't show
> what I need.
>
> Hmmm....

Humm. Probably because you have a weird way of specifying your
colors. :-)

http://www.dfanning.com/color_tips/cbarcolors.html

This works perfectly for me.

LoadCT, 13, NColors=60, Bottom=35
Colorbar, NColors=60, Bottom=35, Divisions=10

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: PIP website temporarily offline
Next Topic: Re: The plot including another plot

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

Current Time: Sun Oct 12 04:39:53 PDT 2025

Total time taken to generate the page: 1.68058 seconds