Hi Erika,
Yes, you need to set cnMonoLineColor = "False" and set cnLineColors. See
the cnLineColors description here:
http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineColors
here's a brief example:
wks = gsn_open_wks("x11","test")
gsn_define_colormap(wks,"Cat12")
res = True
....
res@cnLevelSelectionMode = "ExplicitLevels"
res@cnLevels = (/1,2,3,4/)
res@cnMonoLineColor = False
res@cnLineColors = (/2,4,8,11/)
plot = gsn_csm_xy(wks,arr&time,arr,res)
Hope that helps. If not, please respond to the ncl-talk email list..
Adam
On 10/15/2013 11:03 AM, Erika Folova wrote:
> Hallo,
>
> I just wonder is it possible to draw the contour lines (as attached)
> with different color options
> in NCL? Thank you for your response.
>
> Erika
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ______________________________________________________________ Adam Phillips asphilli@ucar.edu NCAR/Climate and Global Dynamics Division (303) 497-1726 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Oct 15 11:08:59 2013
This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT