Hi,Saji,
Thanks for your help. I have done as what you said. However, I met two questions.
1. the first and second contours overlaped and the color always show white in the plot.
2. I do overlay with "wrf_map_overlays", so the second contour's description will display
at the topleft corner of the plot. how to delete it?
Thanks again!
ChenFeng
2010-09-04
======== 2010-09-03 15:32:29 您在来信中写道: ========
You will have to do this in two steps.
1. Plot your data as usual, after setting res@gsnDraw=False, res@gsnFrame=False
2. Apply settings of interest to the specific contour line that you want
res2=True
res2@cnLevelSelectionMode = "ExplicitLevels"
res2@cnLevels = the_contour_level_of_interest
res2@cnLineThicknessF=thickness
res2@cnLineColor = color
res2@gsnFrame=False
res2@gsnDraw=False
second_plot=gsn_csm_contour(wks,data,res2)
overlay(plot, second_plot)
draw(plot)
frame(wks)
Hope it helps,
saji
On Fri, Sep 3, 2010 at 11:14 AM, ChenFeng <fengfengabc003@163.com> wrote:
Hi, NCL-users,
Does anybody know how to draw an explicit contour line with a user-defined thickness value and color?
I only find the "gsnContourZeroLineThicknessF" to set the thickness of the zero contour just as in
http://www.ncl.ucar.edu/Applications/Scripts/coneff_2.ncl
Thanks a lot and best regards!
Feng Chen
2010-09-03
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
= = = = = = = = = = = = = = = = = = = = = =
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Sep 3 16:36:52 2010
This archive was generated by hypermail 2.1.8 : Thu Sep 16 2010 - 11:05:25 MDT