common scale colorbars [message #75852] |
Mon, 25 April 2011 14:49 |
teddyallen
Messages: 5 Registered: September 2010
|
Junior Member |
|
|
I am having trouble getting the 8.0 graphics system to plot a common
scaled colorbar for multiple contour plots. For example, I have three
contour plots with contour values ranging from [-5,10] for the first
one, [-6,9], for the second and [-3,8] for the third. Ideally, I would
like to associate a [-10,10] colorbar scale for each plot so that I
can make easy visual comparisons between the three.
From what I understand the TARGET keyword will associate a colorbar
with a specified plot. TARGET does not seem to relate the scale of a
specified contour plot to other plots. Having three plots that all
TARGET the same variable simply places three colorbars on one plot.
a = CONTOUR(some data)
a1 = COLORBAR(TARGET=c, TITLE='K / century')
b = CONTOUR(some other data)
b1 = COLORBAR(TARGET=a, TITLE='K / century')
c = CONTOUR(some more other data)
c1 = COLORBAR(TARGET=c, TITLE='K / century')
In this case, i would like to associate a common scaled colorbar with
each contour plot. When I attempt
a.major=11
a.tickname=[string([-10,-8,-6,-4,-2,0,2,4,6,8,10])
I only get a refined colorbar that is not associated with the contour
values.
Any ideas on how to apply identical colorbars to multiple contour
plots that reflect the real data values of the plots?
Thank you,
teddy allen
|
|
|