Hi Gabrielle,
I think you are almost there.
For each contour map, you want to either set res_at_cnLevelSelectionMode
to "ExplicitLevels" or "ManualLevels", as you suggested below.
Use "ManualLevels" if you want equally-spaced contour levels, and
"ExplicitLevels" if not.
For example, for equally-spaced contour levels:
res_at_cnLevelSelectionMode = "ManualLevels"
res_at_cnMinLevelValF = -2.0 ; minimum level
res_at_cnMaxLevelValF = 5.0 ; maximum level
res_at_cnLevelSpacingF = 0.5 ; contour level spacing
For non-equally-spaced contour levels:
res_at_cnLevelSelectionMode = "ExplicitLevels"
res_at_cnLevels = (/-1.0, 0., 1.1, 2.2, 3.3, 4.4/)
For a complete example, see examples 3 or 4 at:
http://www.ncl.ucar.edu/Applications/panel.shtml
--Mary
On Mon, 11 Aug 2008, Gabrielle Ferreira Pires wrote:
> Dear NCL users!
> I need to generate maps to South America of a variable obtained by two
> different products and to compare them amongst themselves, and the group of
> maps of each product has a range of different data. My problem is that I
> need to plot all the maps with same scale of colors, and I would like to
> know if you can help me to solve this problem, since I already consulted
> other friends that work with NCL and I didn't obtain success. I already
> tried to use res_at_cnLevelSelectionMode = "ExplicitLevels" or "ManualLevels",
> and it didn't work. I tried to plot panels, but in each generated map, the
> value 2.2, for example, corresponded to a different color. I thought the
> reason could be the different interval of data in each file.
> All the files can be found at ftp://madeira.dea.ufv.br/users/elnunes/
>
> Respectfully,
>
> Gabrielle
>
> ----------------------------------------------------------
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Aug 11 2008 - 14:44:48 MDT
This archive was generated by hypermail 2.2.0 : Thu Aug 14 2008 - 08:32:15 MDT