<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Li,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Normally, setting:</div><div class="gmail_default" style="font-size:small">
<br></div><div class="gmail_default" style="font-size:small">res@cnLineDashPattern = 2 ; or some value > 0 and < 16</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
should work. However, I looked at the internal code for wrf_contour, and noticed it is setting:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">res@gsnContour<span class="">Neg</span>LineDashPattern = 1</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This causes the general resource to be ignored. <br><br></div><div class="gmail_default" style="font-size:small">
I'm not sure yet if this is a bug or feature, but I believe you can work around it by setting the "Pos" version of this resource:</div><div class="gmail_default" style="font-size:small">
<p class="">res@gsnContourPosLineDashPattern= 2 ; or some value > 0 and < 16</p><p class="">If you want all contour levels to be the same dash pattern, regardless of whether they are negative or positive, then set gsnContour<span class="">Neg</span>LineDashPattern too.</p>
<p class="">I've CC'ed wrfhelp on this, in case they have some idea about how they'd like for this to work. We could modify the wrf_contour code so that if the user sets cnLineDashPattern, the gsnContour<span class="">Neg</span>LineDashPattern resource will get ignored.</p>
<p class="">--Mary</p><div><br></div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 21, 2014 at 10:11 PM, Li Qi <span dir="ltr"><<a href="mailto:liqi123sh@qq.com" target="_blank">liqi123sh@qq.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi all,</div><div><br></div><div>I'd like to ask how to set the resources if I want to draw dashed lines using wrf_contour function.</div><div><br></div><div>Any advice will be appreciated.</div><div><br></div><div>
Best,</div><div><br></div><div>Li Qi</div><br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>