[gradsusr] how mark the significance value and highlight the central horizontal and vertical axes

Sourabh Bal sourabhbal at gmail.com
Thu Mar 5 09:24:35 EST 2015


Thank you very much. I fixed it. Is it possible to replace the number
(which is plotted after set gxout grid) as mark or symbol.

regards

Sourabh

On Wed, Mar 4, 2015 at 5:35 PM, Becker, Bernd <bernd.becker at metoffice.gov.uk
> wrote:

>  t < 1.75 everywhere?
>
>
>
>
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Sourabh Bal
> *Sent:* 04 March 2015 16:01
>
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] how mark the significance value and highlight
> the central horizontal and vertical axes
>
>
>
> Not working
>
> first condition shows just blank(no values)  define
> term=const(maskout(t,t-1.75),
>
> 1.75)
>
>
>
> and second condition shows values in all points define
> term=const(maskout(t,1.75-t),
>
> 1.75)
>
>
>
> I have changed 1.75 with different values but the output remains the same
>
>
>
>
>
>
>
> Sourabh
>
>
>
> On Wed, Mar 4, 2015 at 4:27 PM, Becker, Bernd <
> bernd.becker at metoffice.gov.uk> wrote:
>
> try
>
>
>
> define term=const(maskout(t,t-1.75),1.75)
>
>
>
> no “-u”
>
> If you want the inverse,
>
> try
>
> define term=const(maskout(t,1.75-t),1.75)
>
>
>
> any luck?
>
> Bernd
>
>
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Sourabh Bal
> *Sent:* 04 March 2015 13:56
>
>
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] how mark the significance value and highlight
> the central horizontal and vertical axes
>
>
>
> Dear Bernd,
>
> I have define the ttest value as term
>
> define term=const(maskout(t,t-1.75),1.75,-u)
>
> when I am using
>
> set gxout grid
>
> it displays values in all grid point whether it is 1.75 or less.
>
> May you suggest how to display value only with 1.75 and other values no
> display.
>
> Sourabh
>
>
>
>
>
> On Wed, Mar 4, 2015 at 12:39 PM, Becker, Bernd <
> bernd.becker at metoffice.gov.uk> wrote:
>
>
>
> Sourabh
>
>
>
> make a simple test program first.
>
> you are cramming too much into a single line.
>
> take your steps one by one and you will solve this in
>
> double quick time.
>
>
>
> Good luck!
>
> Bernd
>
>
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Sourabh Bal
> *Sent:* 04 March 2015 11:08
> *To:* GrADS Users Forum
> *Subject:* Re: [gradsusr] how mark the significance value and highlight
> the central horizontal and vertical axes
>
>
>
> Hello Becker,
>
> 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.
>
> 'reinit'
> 'sdfopen era-int.precp.zonmean.allssws.anomalies.sfc'
> 'sdfopen stat.era-int.precp.zonmean.allssws.anomalies.sfc'
>
>
> 'set t 1 61'
> 'set lat -90 90'
> 'set xyrev on'
>
> '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'
> 'set gxout shaded'
> 'set csmooth on'
> 'set grads off'
>
> 'color -0.1 0.1 0.02'
> 'd 1000*(cp.1+lsp.1)'
> 'cbarn'
>
>
>
>
> *'set gxout grid' 'set grid off' 'set gridln off' 'set digsiz 0.001'
> 'define ttest=const(const(maskout((cp.2+lsp.2),(cp.2+lsp.2)-1.75),1),0,-u)'*
>
> *'d ttest'*
>
>
>
> regards
>
> Sourabh
>
>
>
>
>
>
>
> On Mon, Mar 2, 2015 at 4:25 PM, Becker, Bernd <
> bernd.becker at metoffice.gov.uk> wrote:
>
> * "stipple" (with small numbers)
>
>
>
> 'set gxout grid'
>
> 'set grid off'
>
> 'set gridln off'
>
> 'set digsiz 0.001'
>
>
>
> ‘d ...
>
>
>
> *From:* gradsusr-bounces at gradsusr.org [mailto:
> gradsusr-bounces at gradsusr.org] *On Behalf Of *Sourabh Bal
> *Sent:* 02 March 2015 14:21
> *To:* GrADS Users Forum
> *Subject:* [gradsusr] how mark the significance value and highlight the
> central horizontal and vertical axes
>
>
>
> Dear users,
>
> 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.
>
> Please suggest
>
> with regards
>
> Sourabh Bal
>
>
> --
>
> Dr. Sourabh Bal
>
> Post-Doc Fellow
>
> Institute of Meteorology, Freie Universitat, Berlin
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> --
>
> Dr. Sourabh Bal
>
> Post-Doc Fellow
>
> Institute of Meteorology, Freie Universitat, Berlin
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> --
>
> Dr. Sourabh Bal
>
> Post-Doc Fellow
>
> Institute of Meteorology, Freie Universitat, Berlin
>
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
>
>
> --
>
> Dr. Sourabh Bal
>
> Post-Doc Fellow
>
> Institute of Meteorology, Freie Universitat, Berlin
>
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Dr. Sourabh Bal
Post-Doc Fellow
Institute of Meteorology, Freie Universitat, Berlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150305/bf23c889/attachment-0001.html 


More information about the gradsusr mailing list