<div dir="ltr">Not working<br><br>first condition shows just blank(no values) define term=const(maskout(t,t-1.75),<p class="MsoNormal">1.75)</p><p class="MsoNormal"><br></p><p class="MsoNormal">and second condition shows values in all points define term=const(maskout(t,1.75-t),</p><p class="MsoNormal">1.75)</p><p class="MsoNormal"><br></p><p class="MsoNormal">I have changed 1.75 with different values but the output remains the same</p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">Sourabh <br></p></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 4, 2015 at 4:27 PM, Becker, Bernd <span dir="ltr"><<a href="mailto:bernd.becker@metoffice.gov.uk" target="_blank">bernd.becker@metoffice.gov.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">try
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">define term=const(maskout(t,t-1.75),1.75)<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">no “-u”<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">If you want the inverse,<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">try <u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">define term=const(maskout(t,1.75-t),1.75)<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">any luck?<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Bernd<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>]
<b>On Behalf Of </b>Sourabh Bal<br>
<b>Sent:</b> 04 March 2015 13:56</span></p><div><div class="h5"><br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] how mark the significance value and highlight the central horizontal and vertical axes<u></u><u></u></div></div><p></p>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear Bernd,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I have define the ttest value as term
<br>
<br>
define term=const(maskout(t,t-1.75),1.75,-u)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">when I am using <u></u><u></u></p>
</div>
<p class="MsoNormal">set gxout grid <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">it displays values in all grid point whether it is 1.75 or less.
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">May you suggest how to display value only with 1.75 and other values no display.<u></u><u></u></p>
</div>
<p class="MsoNormal">Sourabh<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Mar 4, 2015 at 12:39 PM, Becker, Bernd <<a href="mailto:bernd.becker@metoffice.gov.uk" target="_blank">bernd.becker@metoffice.gov.uk</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sourabh</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">make a simple test program first.
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">you are cramming too much into a single line.
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">take your steps one by one and you will solve this in
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">double quick time.
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Good luck!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bernd</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">
<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>]
<b>On Behalf Of </b>Sourabh Bal<br>
<b>Sent:</b> 04 March 2015 11:08<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] how mark the significance value and highlight the central horizontal and vertical axes</span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello Becker,
<br>
<br>
I want to display the ttest value with greater than 1.75.(as mark but not as contour or shaded). I followed your suggestion and then used maskout but failed. May you please suggest.
<br>
<br>
'reinit'<br>
'sdfopen era-int.precp.zonmean.allssws.anomalies.sfc'<br>
'sdfopen stat.era-int.precp.zonmean.allssws.anomalies.sfc'<br>
<br>
<br>
'set t 1 61'<br>
'set lat -90 90'<br>
'set xyrev on'<br>
<br>
'set xlabs -30|-28|-26|-24|-22|-20|-18|-16|-14|-12|-10|-8|-6|-4|-2|0|2|4|6|8|10|12|14|16|18|20|22|24|26|28|30'<br>
'set gxout shaded'<br>
'set csmooth on'<br>
'set grads off'<br>
<br>
'color -0.1 0.1 0.02'<br>
'd 1000*(cp.1+lsp.1)'<br>
'cbarn'<br>
<b><span style="color:blue">'set gxout grid'<br>
'set grid off'<br>
'set gridln off'<br>
'set digsiz 0.001'<br>
'define ttest=const(const(maskout((cp.2+lsp.2),(cp.2+lsp.2)-1.75),1),0,-u)'</span></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><b><span style="color:blue">'d ttest'</span></b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Sourabh<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Mon, Mar 2, 2015 at 4:25 PM, Becker, Bernd <<a href="mailto:bernd.becker@metoffice.gov.uk" target="_blank">bernd.becker@metoffice.gov.uk</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">* "stipple" (with small numbers)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">'set gxout grid'</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">'set grid off'</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">'set gridln off'</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">'set digsiz 0.001'</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">‘d ...</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">
<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>]
<b>On Behalf Of </b>Sourabh Bal<br>
<b>Sent:</b> 02 March 2015 14:21<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> [gradsusr] how mark the significance value and highlight the central horizontal and vertical axes</span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Dear users,
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Can anyone please suggest How to display the t-test value as mark e.g ***** (not shaded or contour) and I want to highlight (bold) the central horizontal and vertical axes. As my X-axis
contains time -10 -5 0 5 10. and Y-axis as latitude. I want to highlight (bold) the equator and time at 0.
<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Please suggest<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">with regards<u></u><u></u></p>
</div>
<p class="MsoNormal">Sourabh Bal<br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Dr. Sourabh Bal<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Post-Doc Fellow <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Institute of Meteorology, Freie Universitat, Berlin<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Dr. Sourabh Bal<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Post-Doc Fellow <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Institute of Meteorology, Freie Universitat, Berlin<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Dr. Sourabh Bal<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Post-Doc Fellow <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Institute of Meteorology, Freie Universitat, Berlin<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Dr. Sourabh Bal</div><div dir="ltr">Post-Doc Fellow </div><div dir="ltr">Institute of Meteorology, Freie Universitat, Berlin<div><br></div><div><br><br></div></div></div></div></div></div>
</div>