<div>Dear Mary,</div><div><br></div><div> May I know how is the test now. 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">liuzhen9@mail2.sysu.edu.cn</font> </div></div></div><div> </div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "刘振"<286909655@qq.com>;</div><div><b>发送时间:</b> 2018年8月21日(星期二) 中午1:43</div><div><b>收件人:</b> "Mary Haley"<haley@ucar.edu>;<wbr></div><div><b>抄送:</b> "ncl-talk"<ncl-talk@ucar.edu>; <wbr></div><div><b>主题:</b> 回复: [ncl-talk] Significance with contour: positive in solidlineandnegative in dash line</div></div><div><br></div><div>Dear Mary,</div><div><br></div><div> I am really sorry about the confusing code before and have make a clean script attached with the output (test.pdf) also.</div><div> The color fill actually is not induce by my commented code. I got the color fill because I load a script (res_zhen.ncl) externally on the first line in which I save some plot properties. So I also enclose the res_zhen.ncl in attachment for your reference.</div><div> Here comes my questions. The contour lines in file 'var.pdf' represent the correct significant areas. I want to make the lines in dash pattern when the color shading denotes negative. However, with the attached script, the contour line, magnify the signigicant areas.</div><div> I hope I have made my points clearly. Please feel free to give me any suggestions and comments. Many 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">liuzhen9@mail2.sysu.edu.cn</font> </div></div></div><div> </div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Mary Haley"<haley@ucar.edu>;</div><div><b>发送时间:</b> 2018年8月21日(星期二) 凌晨5:33</div><div><b>收件人:</b> "刘振"<286909655@qq.com>;<wbr></div><div></div><div><b>主题:</b> Re: [ncl-talk] Significance with contour: positive in solidlineandnegative in dash line</div></div><div><br></div><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">It is hard for me to debug this script because there's a lot of code commented out, and without being able to run it, I can't tell what the values of the arrays are that you are plotting.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Also, in the script you sent me, "cnFillOn" is never set to True, so I'm not sure how you got color fill in the first place. You do have a section where cnFillOn is set to True, but it's commented out. This makes it extremely hard for me to debug, because I don't know which code is supposed to be uncommented.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you want me to debug your code without being able to run it, then at a minimum, you need to send me a *clean* script that doesn't have a bunch of commented resources. Also, send me the new image that is a result of your clean script, and explain in more detail what is wrong with the image so I know where in your code I can try to find the error. It is still not clear to me what you are trying to do.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 18, 2018 at 12:23 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 Mary,</div><div><br></div><div> I am sorry I forgot to enclose my script. You are right that I got two contour plots. But I don't think I mix them.</div><div> One contour plot in shading represent differences and the p values for significance is based on the differences. The second contour plot represent the p value I calculate. As you know, the p value is positive. In order to plot the negative differences with dashed p contour line. I reset the p value to negative when the differences is negative using "<span class="m_7409599908248012331m_8846570964831232447s1" style="font-family:Monaco;font-size:18px">prob=</span><span class="m_7409599908248012331m_8846570964831232447s2" style="font-family:Monaco;font-size:18px">where</span><span class="m_7409599908248012331m_8846570964831232447s1" style="font-family:Monaco;font-size:18px">(var</span><span class="m_7409599908248012331m_8846570964831232447s3" style="font-family:Monaco;font-size:18px">.lt.</span><span class="m_7409599908248012331m_8846570964831232447s4" style="font-family:Monaco;font-size:18px">0</span><span class="m_7409599908248012331m_8846570964831232447s1" style="font-family:Monaco;font-size:18px">,-prob,pro<wbr>b)</span>". The problem is the significant area in contour (T2.pdf) totally changed.</div><div> The corresponding script is attached for your reference. The data is in several giga bites. It is not easy to attach the data directly. Hope you can get some idea from my script. Looking forward to your reply. Thanks.</div><span class=""><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></span><div><div><br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "Mary Haley"<<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>>;</div><div><b>发送时间:</b> 2018年8月17日(星期五) 晚上10:43</div><div><b>收件人:</b> "刘振"<<a href="mailto:286909655@qq.com" target="_blank">286909655@qq.com</a>>;</div><div><b>抄送:</b> "NCL"<<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>>; </div><div><div class="h5"><div><b>主题:</b> Re: [ncl-talk] Significance with contour: positive in solid lineandnegative in dash line</div></div></div></div><div><div class="h5"><div><br></div><div dir="ltr"><div class="gmail_default" style="font-size:small">Zhen,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I would need to see your script, and maybe your data (which you can email if it's small) in order to understand what's going on. It looks like you have two contour plots overlaid. Is it possible you are applying the wrong set of resources to the wrong data?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 16, 2018 at 8:43 PM, 刘振 <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 Mary,</div><div><br></div><div> Thanks a lot for you reply and very good suggestions.</div><div> Your methods perfectly solve my second problem.</div><div> But, for the first one, it is, somehow, a little tricky. The contour line I want to plot represents p value (according to student's t test), which is always positive. In order to plot the positive (value in shading) with solid line while negative with dash line, I use ‘<span class="m_7409599908248012331m_8846570964831232447s1" style="font-family:Monaco;font-size:18px">prob=</span><span class="m_7409599908248012331m_8846570964831232447s2" style="font-family:Monaco;font-size:18px">where</span><span class="m_7409599908248012331m_8846570964831232447s1" style="font-family:Monaco;font-size:18px">(var</span><span class="m_7409599908248012331m_8846570964831232447s3" style="font-family:Monaco;font-size:18px">.lt.</span><span class="m_7409599908248012331m_8846570964831232447s4" style="font-family:Monaco;font-size:18px">0</span><span class="m_7409599908248012331m_8846570964831232447s1" style="font-family:Monaco;font-size:18px">,-prob,pro<wbr>b)</span>’ in my script to change the p value (i.e., prob) first. Then I plot the p value using contour with negative p value in dash. But the region at 95% significant area totally changed. Please check the differences between the two outputs attached. The var.pdf should be the right one. Could you please help me to solve this issue. Thanks.</div><span><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></span><div><div><br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------<wbr>------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "Mary Haley"<<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>>;</div><div><b>发送时间:</b> 2018年8月17日(星期五) 上午7:49</div><div><b>收件人:</b> "刘振"<<a href="mailto:286909655@qq.com" target="_blank">286909655@qq.com</a>>;</div><div><b>抄送:</b> "ncl-talk"<<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.e<wbr>du</a>>; </div><div><b>主题:</b> Re: [ncl-talk] Significance with contour: positive in solid line andnegative in dash line</div></div><div><div class="m_7409599908248012331h5"><div><br></div><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="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">functions/<wbr>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="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank"><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Applic<wbr>ations/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" target="_blank">conOncon_1.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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" target="_blank">conOncon_2.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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" target="_blank">conOncon_4.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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" target="_blank">coneff_3.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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" target="_blank">coneff_5.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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" target="_blank">coneff_6.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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" target="_blank">coneff_9.ncl</a><span style="font-weight:normal;background-color:rgb(255,255,255);text-decoration:none;float:none;display:inline"><span class="m_7409599908248012331m_8846570964831232447gmail-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" target="_blank">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" target="_blank"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Applic<wbr>ations/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">gsnContourNegLineDa<wbr>shPattern and <span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gsnContourPosLineDashPatte<wbr>rn</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" target="_blank"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Docume<wbr>nt/Graphics/Resources/gsn.<wbr>shtml#gsnContourNegLineDashPat<wbr>tern</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" target="_blank"><span style="font-size:13.3333px">http://www.ncl.ucar.edu/Docume<wbr>nt/Graphics/Resources/gsn.<wbr>shtml#gsnContourPosLineDashPat<wbr>tern</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" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/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" target="_blank">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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div></div>