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

Home » Public Forums » archive » NG Colorbar scaling
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
NG Colorbar scaling [message #72597] Thu, 23 September 2010 11:22
David Grier is currently offline  David Grier
Messages: 35
Registered: July 2010
Member
I want to add a colorbar to a plot created with the new object graphics
system. I've colored the plot symbols individually using the
vert_colors keyword to the plot function. Now I want to add a colorbar
that explains what the plot symbols' colors mean. When I add the
colorbar to the plot, it shows the right color table (yay), but its axis
is labeled with a range of values that I do not understand.

Is there some easy way to control the range of values on the axis of the
colorbar object?

Say, for instance, I want the values on the axis of the colorbar to
range from 0 to 1 regardless of the actual values (or colors) of the
plot symbols. How do I do that?

I've tried setting the [xyz]range keywords in the colorbar function, but
with no luck.

Many thanks,

David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: operator fails?
Next Topic: Reporting 8.0 bu... er, "features"?

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

Current Time: Fri Oct 10 01:29:56 PDT 2025

Total time taken to generate the page: 1.03685 seconds