<div dir="ltr"><div><div>I'm not sure what to say then. Perhaps the smth9() function only works on horizontal fields (that's all I've ever used it on)?<br><br></div>Perhaps something very clever will be needed. Or you might have to perform the smoothing in an alternate data set outside of grads. Or you may be out of luck on this option. I'm not sure. Hopefully someone else can chime in with better advice.<br></div><div><br></div><div>Good luck!</div><div><br></div>Jeff<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 27, 2017 at 11:03 PM, Lyndon Mark Olaguera <span dir="ltr"><<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@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">Dear Sir Jeff,<div><br></div><div>I also tried your suggestion but the result does not change.</div><div><br></div><div><b>'d smth9(smth9(smth9(smth9(smth9(<wbr>smth9(smth9(smth9(-c*100))))))<wbr>))'</b><br></div><div><b><br></b></div><div>I am only shading the significant areas via the maskout() function. Maybe, this is the reason why Im not getting a smooth shading?</div><div><br></div><div>Sincerely,</div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-1183634682453243878gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon Mark P. Olaguera</u></b></font><div>PhD Student </div><div>Laboratory of Climatology</div><div>Department of Geography</div><div>Faculty of Urban Environmental Science</div><div><span style="font-size:12.8px">Minami-Osawa Campus</span><br></div><div>Tokyo Metropolitan University</div><div>Hachioji Tokyo, Japan</div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Thu, Dec 28, 2017 at 2:44 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@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>use the smth9() function. Nest several iterations of it to increase the smoothing level.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><div><div class="m_-1183634682453243878h5"><br><div class="gmail_quote">On Wed, Dec 27, 2017 at 9:41 PM, Lyndon Mark Olaguera <span dir="ltr"><<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.c<wbr>om</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">Hi Bill,<div><br></div><div>I tried this but the result is still the same.</div><div><br></div><div>Sincerely,</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndon Mark P. Olaguera</u></b></font><div>PhD Student </div><div>Laboratory of Climatology</div><div>Department of Geography</div><div>Faculty of Urban Environmental Science</div><div><span style="font-size:12.8px">Minami-Osawa Campus</span><br></div><div>Tokyo Metropolitan University</div><div>Hachioji Tokyo, Japan</div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 27, 2017 at 9:16 PM, Bill Reilly <span dir="ltr"><<a href="mailto:bill_reilly@compuserve.com" target="_blank">bill_reilly@compuserve.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="Arial">Before displaying the shading use the following:<br>
<br>
'set csmooth on'</font><br>
<pre class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-signature" cols="72">--
Bill Reilly
<a href="tel:+34%20686%2011%2007%2048" value="+34686110748" target="_blank">(+34) 686-110-748</a>
<a class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-txt-link-abbreviated" href="mailto:bill@passageweather.com" target="_blank">bill@passageweather.com</a>
<a class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-txt-link-abbreviated" href="http://www.passageweather.com" target="_blank">www.passageweather.com</a>
<a class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-txt-link-abbreviated" href="mailto:bill@brwebworks.com" target="_blank">bill@brwebworks.com</a>
<a class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-txt-link-abbreviated" href="http://www.brwebworks.com" target="_blank">www.brwebworks.com</a>
</pre><div><div class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891h5">
<div class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-cite-prefix">On 27/12/2017 05:48, Lyndon Mark
Olaguera wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891h5">
<div dir="ltr">Dear GrADS experts,
<div><br>
</div>
<div>I am trying to plot a difference plot.In particular, a
height-longitude cross section attached in this email. I am
shading only the significant areas. </div>
<div><br>
</div>
<div>Is there a way to smoothen the shading in the
plot?Currently, the shading appears like "blocks".</div>
<div>Here's a part of my script.</div>
<div><br>
</div>
<div>'define sig=maskout(ttest1,ttest1-3.05<wbr>5)'<br>
</div>
<div>
<div>'set lon 40 180'</div>
<div>'define b=maskout(num,sig)'</div>
<div>'set lev 1000 100'</div>
<div>'set lon 40 180'</div>
<div>'define c=ave(b,lat=0,lat=18)'</div>
</div>
<div><br>
</div>
<div>
<div>'set display color white'</div>
<div>'c'</div>
<div>'set parea 1.5 10.5 1.5 8'</div>
<div>'set lon 40 180'</div>
<div>'set grads off'</div>
<div>'set grid off'</div>
<div>'set xlopts 1 5 0.2'</div>
<div>'set ylopts 1 5 0.2'</div>
<div>'set xlint 20'</div>
<div>'set font 1'</div>
</div>
<div><br>
</div>
<div>
<div>'set gxout shaded'</div>
<div>'set lev 1000 100'</div>
<div>'set y 1'</div>
<div>'set zlog on'</div>
</div>
<div>
<div><b>'color -8 8 1 -gxout shaded -kind gray->gray'</b></div>
<div>'d -c*100'</div>
</div>
<div><br>
</div>
<div>I'll appreciate any help.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>
<div class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font face="comic sans
ms, sans-serif"><b><u>Lyndon Mark
P. Olaguera</u></b></font>
<div>PhD Student </div>
<div>Laboratory of Climatology</div>
<div>Department of Geography</div>
<div>Faculty of Urban Environmental
Science</div>
<div><span style="font-size:12.8px">Minami-Osawa
Campus</span><br>
</div>
<div>Tokyo Metropolitan University</div>
<div>Hachioji Tokyo, Japan</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476mimeAttachmentHeader"></fieldset>
<br>
</div></div><pre>______________________________<wbr>_________________
gradsusr mailing list
<a class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>
<a class="m_-1183634682453243878m_1559951855669020096m_-6681967634155453891m_-6019105125704707476moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a>
</pre>
</blockquote>
<br>
</div>
<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></blockquote></div><br></div>
<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></blockquote></div><br><br clear="all"><br></div></div><span class="m_-1183634682453243878HOEnZb"><font color="#888888">-- <br><div class="m_-1183634682453243878m_1559951855669020096gmail_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></div>
<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></blockquote></div><br></div></div></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_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>