multiple contour plots with common color range [message #81133] |
Tue, 14 August 2012 20:29 |
Alexandra Laeng
Messages: 20 Registered: July 2011
|
Junior Member |
|
|
Hi everybody,
I have quite restrained experience with use of Contour Plots, so the following represents a problem for me.
I need to make 5 different contour plots with the common range of colors. My understanding is that IDL takes the minimum and the maximum of the input arrays and assigns to them the first and the last colors, distributing the other colors in between. Now, I have 5 arrays, with different minimums and maximums o each one, and I would like to produce contour plots that would be directly comparable with eye, i.e. I would like them to have a common color range.
Any idea how to do it aside add to each array the common minimum of five arrays and common maximum? Is there a keyword saying to IDL use only a part of the color table (I understood that the "clip" keyword loads only a part of the table, while I need the whole table loaded, so probably a workaround would be to load the table 5 times only partially and the sixth time entirely for the cgColorbar).
Any comment would be most welcome
Alex
|
|
|