<div dir="ltr"><div><div><div><div><div>Hi Nisha,<br></div>Try setting the following:<br>res@mpFillOn = True  <br>res@mpFillColors = (/-1,0,-1,-1/)    ; fill the ocean white (=0), other areas = transparent<br>      ;see <a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpFillColors">http://www.ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpFillColors</a><br></div>res@cnFillDrawOrder = &quot;PreDraw&quot;<br>res@mpFillDrawOrder = &quot;Draw&quot;<br>res@mpOutlineDrawOrder = &quot;Draw&quot;<br>res@cnLineDrawOrder = &quot;PostDraw&quot;<br>res@mpPerimDrawOrder = &quot;PostDraw&quot;<br><br></div>The various DrawOrder resources shown above may or may not be necessary for your case. For an overview of the various DrawOrder resources see the NCL Draw Order Applications page here:<br><a href="http://www.ncl.ucar.edu/Applications/draworder.shtml">http://www.ncl.ucar.edu/Applications/draworder.shtml</a><br><br></div>Hope that helps! If not, please respond to ncl-talk.<br></div>Adam<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 7:11 PM, Manisha Ganeshan <span dir="ltr">&lt;<a href="mailto:manisha.ganeshan86@gmail.com" target="_blank">manisha.ganeshan86@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Is there a function like <b>res@cnFillDrawOrder      = &quot;Predraw&quot;</b>, to draw over the ocean (not continent)?.</div><div><br></div><div>I really want to mask out the ocean in a coarse (3 degree lat) map. The landsea_mask and mask functions don&#39;t really help in visualizing coarse resolution maps.</div><div><br></div><div>Thanks,</div><div>Nisha</div></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><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>