Hi there -
My goal is to shade a contour plot with everything < 0 a light gray, but draw several more contours that are all in black. It seems I can't figure out how to do this. Any suggestions would be useful. I have:
plotres@cnFillOn = True
gsn_define_colormap(wks,(/"white","light gray"/))
plotres@gsnSpreadColors = True
plotres@gsnSpreadColorStart = 1
plotres@gsnSpreadColorEnd = 0
plotres@cnMonoLineColor = True
plotres@cnLineColor = "black"
plotres@cnLevelSelectionMode = "ManualLevels"
plotres@cnMinLevelValF = -10.
plotres@cnMaxLevelValF = 10.
plotres@cnLevelSpacingF = 0.1
plot(0)=gsn_contour(wks,profs_T,plotres)
I get the correct shading, but the contours and plot boundaries are also light gray.
Cheers,
Josh
-- Joshua Hacker Advanced Studies Program NCAR/UCAR email: hacker@ucar.edu voice: 303-497-8188 fax: 303-497-8171_______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 14:52:56 MST