<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Zhen,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">One way to find out if there's an example for something specific you are trying to do, you can use the "tips" link on the examples page:</div><div class="gmail_default" style="font-size:small"><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_default" style="font-size:small"><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;font-weight:normal;text-align:left;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">List of<span class="gmail-Apple-converted-space"> </span></span><a href="http://www.ncl.ucar.edu/Applications/concepts_list.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-weight:normal;font-size:13.3333px;text-align:left">tips</a><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;font-weight:normal;text-align:left;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">,<span class="gmail-Apple-converted-space"> </span></span><a href="http://www.ncl.ucar.edu/Applications/res_list.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-weight:normal;font-size:13.3333px;text-align:left">resources</a><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;font-weight:normal;text-align:left;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">,<span class="gmail-Apple-converted-space"> </span></span><a href="http://www.ncl.ucar.edu/Applications/func_list.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-weight:normal;font-size:13.3333px;text-align:left">functions/procedures</a><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;font-weight:normal;text-align:left;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>and the example scripts they appear in.</span></div></blockquote><div class="gmail_default" style="font-size:small"><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;font-weight:normal;text-align:left;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><br></span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;font-weight:normal;text-align:left;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">Which takes you to this page:</span></div><div class="gmail_default" style="font-size:small"><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px;font-weight:normal;text-align:left;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><br></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><a href="http://www.ncl.ucar.edu/Applications/concepts_list.shtml"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Applications/concepts_list.shtml</span></font><br></a></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">You can then use your browser search to search for "negative" or "positive". You will find this under the search for "negative":</span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><b style="margin:0px;padding:0px;text-decoration:none">Drawing negative contour lines as dashed lines</b><br style="margin:0px;padding:0px;font-weight:normal;text-decoration:none"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"> </span><a href="http://www.ncl.ucar.edu/Applications/Scripts/conOncon_1.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">conOncon_1.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>(</span><a href="http://www.ncl.ucar.edu/Applications/conOncon.shtml#ex1" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">contours on contours</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">)</span><br style="margin:0px;padding:0px;font-weight:normal;text-decoration:none"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"> </span><a href="http://www.ncl.ucar.edu/Applications/Scripts/conOncon_2.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">conOncon_2.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>(</span><a href="http://www.ncl.ucar.edu/Applications/conOncon.shtml#ex2" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">contours on contours</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">)</span><br style="margin:0px;padding:0px;font-weight:normal;text-decoration:none"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"> </span><a href="http://www.ncl.ucar.edu/Applications/Scripts/conOncon_4.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">conOncon_4.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>(</span><a href="http://www.ncl.ucar.edu/Applications/conOncon.shtml#ex4" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">contours on contours</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">)</span><br style="margin:0px;padding:0px;font-weight:normal;text-decoration:none"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"> </span><a href="http://www.ncl.ucar.edu/Applications/Scripts/coneff_3.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">coneff_3.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>(</span><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex3" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">contour effects</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">)</span><br style="margin:0px;padding:0px;font-weight:normal;text-decoration:none"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"> </span><a href="http://www.ncl.ucar.edu/Applications/Scripts/coneff_5.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">coneff_5.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>(</span><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex5" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">contour effects</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">)</span><br style="margin:0px;padding:0px;font-weight:normal;text-decoration:none"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"> </span><a href="http://www.ncl.ucar.edu/Applications/Scripts/coneff_6.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">coneff_6.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>(</span><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex6" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">contour effects</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">)</span><br style="margin:0px;padding:0px;font-weight:normal;text-decoration:none"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"> </span><a href="http://www.ncl.ucar.edu/Applications/Scripts/coneff_9.ncl" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">coneff_9.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="gmail-Apple-converted-space"> </span>(</span><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex9" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-weight:normal">contour effects</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">)</span><br></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline">I recommend clicking on the link inside the "(...)" and not the actual NCL script, because this way you can see the description of the example, the image, and the link to the script. A good example to start with is "coneff_3.ncl":</span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex3"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Applications/coneff.shtml#ex3</span><br></a></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px">which mentions two resources, <span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gsnContourNegLineDashPattern and <span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gsnContourPosLineDashPattern</span></span></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourNegLineDashPattern"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourNegLineDashPattern</span><br></a></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourPosLineDashPattern"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourPosLineDashPattern</span><br></a></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px">which should hopefully answer your first question.</span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px">To answer your second question, you can also use the "tips" page, but this time search for "dot" or "stipple". In this case, "dot" gives you the best results, and "coneff_11.ncl" may be the best example to look into. The resources cnFillScaleF and cnFillDotSizeF may help you with the density and size of your dots.<br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px"><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px"><span style="color:rgb(17,85,204);font-size:13.3333px"><a href="http://www.ncl.ucar.edu/Applications/coneff.shtml#ex11" style="color:rgb(17,85,204);font-size:small">http://www.ncl.ucar.edu/Applications/coneff.shtml#ex</a>11</span><br></span></span></font></span></div><div class="gmail_default"><span style="text-align:left;background-color:rgb(255,255,255);float:none;display:inline"><font color="#333333" face="verdana, sans-serif"><span style="background-color:rgb(255,255,255);float:none;display:inline"><span style="font-size:13.3333px"><br></span></span></font></span></div><div class="gmail_default"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">If this doesn't help, please post back to ncl-talk.</span></font></div><div class="gmail_default"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div class="gmail_default"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">Thanks,</span></font></div><div class="gmail_default"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div class="gmail_default"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">--Mary</span></font></div><div class="gmail_default"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 16, 2018 at 8:02 AM, 刘振 <span dir="ltr"><<a href="mailto:286909655@qq.com" target="_blank">286909655@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>Dear Sir/Madam,</div><div><br></div><div> I use the script attached to plot the significance area (student's t test) with contour lines. I am wondering if there is a way to make the positive area (shading) in solid line while negative area in dash line. The output is also attached. Thanks.</div><div> For another output named T2-CTLF-CTL-sum.pdf, most of the area are at 95% significant. By contrast, only region not significant show with contours. Could you also tell me how to deal with such kind of situation. I try to use dot instead of contour to show significant area. But all the plot become black because of the data at a high resolution. Here comes the question that how to decrease the density of the dots? Thanks.</div><div><br></div><div>Best regards,</div><div>zhen</div><div><br></div><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000"><div>刘振</div>
<div>中山大学<br>环境科学与工程学院<br>大气科学系<br>Phone: +86-15013246049</div>
<div>Liu Zhen</div>
<div>Department of Atmospheric Science<br>School of Environmental Science and Engineering</div>
<div>Sun Yat-sen University<br>Email address: <font color="#7f7f7f"><a href="mailto:liuzhen9@mail2.sysu.edu.cn" target="_blank">liuzhen9@mail2.sysu.edu.cn</a></font> </div></div></div><div> </div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>