Dear NCL users,
I am trying to create 3 plots on one page each with its own
user-defined colormap. The part of the script is given below.
It doesn't seem to work for me as all 3 plots show colors defined as
colormap "cmap3" (see below).
Regards
Ashley
begin
........
........
........
plot = new(3,graphic)
gsn_define_colormap(wks,cmap1) ; Define a color map for 1st
plot
plot(0) = gsn_csm_contour_map(wks,precip,res1)
gsn_define_colormap(wks,cmap2") ; Define a color map for
2nd plot
plot(1) = gsn_csm_contour_map(wks,temp,res2)
gsn_define_colormap(wks,cmap3") ; Define a color map for 3rd
plot
plot(2) = gsn_csm_contour_map(wks,elev,res3)
gsn_panel(wks,plot,(/1,3/),pnlres)
end
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Nov 16 08:54:26 2009
This archive was generated by hypermail 2.1.8 : Tue Nov 17 2009 - 17:27:42 MST