[Sea-mat] multiple colormap/colorbars?

Lynn Yarmey yarmey at coast.ucsd.edu
Tue Sep 14 18:29:20 EDT 2004



hello everyone,

i am hoping someone can help me with the following:

i am using different colormaps for different subplots in a figure.  since
the colormap is attached to the figure properties as opposed to the axis
properties, the colormaps are concatenated and i am pulling out the colors
for each subplot from the larger colormap with 'CLim'.

however, when i add the colorbars to each subplot, the bar shows the
entire range of the concatenated colormap.   i have tried changing the
'YLim' properties of the axis, but this changes the Y axis of my plot
rather than of the colorbar.    is there a way to call out the axis of the
colorbar itself, or a better way to get the colorbar to only display the
colors associated with that map?

any help is appreciated!
lynn


___________________________________________________________
Lynn Yarmey
Integrative Oceanography Division - 0209
Scripps Institution of Oceanography
University of California, San Diego
9500 Gilman Dr. La Jolla, CA  92093



More information about the Sea-mat mailing list