<div dir="ltr"><div><div>Dear Jeff,<br><br></div>Thank you so much for such a nice explanation. Following your commands the following commands works as you advised.<br><br></div>&#39;set clevs 0&#39;<br><div> &#39;d maskout(MassFluxMean,abs(lat-32.5)-12.5)&#39;<br><br></div><div>Regards,<br></div><div>Mubashar<br></div><div><br><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 11:16 PM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@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"><div><div><div><div><div><div>Mubashar,<br></div>Again, as I suggested before, using a masking field that involves latitude. You can setup an alegebraic inequality that involves the absolute value of latitude (lat, in Grads...it is defined automatically for you) that will suffice as the mask expression. Basically you want to find &#39;center&#39; and &#39;width&#39; such that<br><br></div>| lat - center | &lt; width<br><br></div>is satisfied by your 20-45 N band. Then you can just take the logical negation of that statement and use it as the mask expression. I&#39;ll give you a hint by telling you that the equation satisfied by latitude values of 20 to 45 N is <br></div>| lat - 32.5 | &lt; 12.5<br><br></div>All that&#39;s left for you is to negate that and bring the 12.5 over to the other side, because in the maskout command you can only input the LHS of the equation. The RHS is assumed to be zero, hence the description &quot;Wherever the <code><i>mask</i></code> values are less than zero, the values in <code><i>expr</i></code> are set to the missing data value.&quot; in the Grads User&#39;s Guide index entry for the maskout function.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Jeff Duda<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 2:00 PM, Mubashar Ahmad <span dir="ltr">&lt;<a href="mailto:mubashardogar@gmail.com" target="_blank">mubashardogar@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"><div><div><div>Dear Jeff and Davide,<br><br></div>Thank you very much. Actually I would like to plot 0 value contours as shown in the attached figures, but I don&#39;t need to display these contours and 0 labels between latitude 20N til 45N. I just need to have these labels and contours over the tropical region. The attached plot is done using following maskout expression. MassFluxMean is the name of the variable.<br><br>&#39;set clevs 0&#39;<br>&#39;d maskout(MassFluxMean,0)&#39;<br><br></div>Best regards,<br></div>Mubashar<br><div><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 27, 2017 at 8:38 PM, Jeff Duda <span dir="ltr">&lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@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"><div><div><div>Unless you have a strict objective way to define the ITCZ, you may not be able to get the exact results you want. But one thing you can try is to mask your field by latitude:<br><br></div>&#39;d maskout(field,abs(lat)-10)&#39;<br><br></div>The above command would plot a field only within 10 deg. of the equator. Adjust for your specific longitude band.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_6789671070076010559m_8253206076093417654h5">On Mon, Feb 27, 2017 at 7:04 AM, Mubashar Ahmad <span dir="ltr">&lt;<a href="mailto:mubashardogar@gmail.com" target="_blank">mubashardogar@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_6789671070076010559m_8253206076093417654h5"><div dir="ltr"><div><div><div>Dear GrADS users,<br><br></div>I would like to draw 0 contour border (over tropical  ITCZ region) in the upper panel of attached figure. If I simply use command &quot;set gxout contour, or &#39;set clevs 0&#39;  and then display my variable it will draw many contours, but I don&#39;t want to display 0 values every where, instead  I want it across ITCZ area (tropical region, red color) in the upper panel of attached figure. How can I do it in GrADS?<br><br></div>Thanks and best regards,<br><br></div>Mubashar<br></div>
<br></div></div><span>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></span></blockquote></div><span class="m_6789671070076010559m_8253206076093417654HOEnZb"><font color="#888888"><br><br clear="all"><span class="m_6789671070076010559HOEnZb"><font color="#888888"><br>-- <br><div class="m_6789671070076010559m_8253206076093417654m_-8024025026289470111gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</font></span></font></span></div><span class="m_6789671070076010559HOEnZb"><font color="#888888">
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br></font></span></blockquote></div><span class="m_6789671070076010559HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_6789671070076010559m_8253206076093417654gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Muhammad Mubashar Ahmad Dogar<br>Scientific Officer (Climatology Section),<br>Global Change Impact Studies Centre (GCISC),<br>NCP complex, Quaid-e-Azam University Campus,<br>Shahdra road, Islamabad, Pakistan.<br>email: <a href="mailto:muhammad.dogar@kaust.edu.sa" target="_blank">muhammad.dogar@kaust.edu.sa</a> <br></div>           <a href="mailto:mubashardogar@gmail.com" target="_blank">mubashardogar@gmail.com</a><br></div>           <a href="mailto:mubashardogar@yahoo.com" target="_blank">mubashardogar@yahoo.com</a><br></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="m_6789671070076010559gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Muhammad Mubashar Ahmad Dogar<br>Scientific Officer (Climatology Section),<br>Global Change Impact Studies Centre (GCISC),<br>NCP complex, Quaid-e-Azam University Campus,<br>Shahdra road, Islamabad, Pakistan.<br>email: <a href="mailto:muhammad.dogar@kaust.edu.sa" target="_blank">muhammad.dogar@kaust.edu.sa</a> <br></div>           <a href="mailto:mubashardogar@gmail.com" target="_blank">mubashardogar@gmail.com</a><br></div>           <a href="mailto:mubashardogar@yahoo.com" target="_blank">mubashardogar@yahoo.com</a><br></div></div>
</div></div></div>