NG Colorbar scaling [message #72597] |
Thu, 23 September 2010 11:22 |
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
|
|
|