<div dir="ltr"><div>Hi,</div><div><br></div><div>Very hard to say with the information provided. The examples cited at the bottom of the description of gsn_contour_shade show how to do multiple shades:</div><div><br></div><div>   <a href="http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_contour_shade.shtml">http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_contour_shade.shtml</a></div><div><br></div><div>In general, they involve setting the resources gsnDraw and gsnFrame to False, doing your gsn_contour_shade() calls, and then calling</div><div><br></div><div>  draw(plot)</div><div>  frame(wks)</div><div><br></div><div>to draw everything.</div><div><br></div><div>If those examples don't help, you might write back with more of your script to help others trouble shoot.  I hope that helps...</div><div><br></div><div>Rick<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 21, 2018 at 5:29 PM, yang yang <span dir="ltr"><<a href="mailto:yang.yang816@gmail.com" target="_blank">yang.yang816@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear All:</div><div><br></div><div>I would like to plot two shade areas in a diagram using the codes below:</div><div><br></div><div>  wspeedfill    = gsn_csm_contour(wks,ptt,<wbr>wspeed_res)<br>opt = True<br>  opt@gsnShadeMid = "grey"<br> wspeedfill = gsn_contour_shade(wspeedfill,<wbr>315.,330.,opt)<br>draw(wspeedfill)<br>opt1 = True<br>opt1@gsnShadeMid = "grey"<br>wspeedfill = gsn_contour_shade(wspeedfill,<wbr>340.,355.,opt1)</div><div><br></div><div>However, only one shade area (<span style="font:400 13.33px/19.99px Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">340.,355.) was plotted. Can you please tell me how to fix this problem?</span></div><div><span style="font:400 13.33px/19.99px Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><br></span></div><div><span style="font:400 13.33px/19.99px Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">Thanks very much!</span></div><div><span style="font:400 13.33px/19.99px Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent"><br></span></div><div><span style="font:400 13.33px/19.99px Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">Regards</span></div><div><span style="font:400 13.33px/19.99px Arial,Helvetica,sans-serif;text-align:left;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;text-decoration:none;word-spacing:0px;display:inline;white-space:normal;font-size-adjust:none;font-stretch:normal;float:none;background-color:transparent">Ed</span><b></b><i></i><u></u><sub></sub><sup></sup><strike></strike></div><div><br></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>