[gradsusr] Format gxout grid output numbers

Marsh, Kieren [FGUAE] k.marsh at fugro-uae.com
Wed Jun 3 08:38:34 EDT 2015


Thank Stephen,
I was hoping to use c code formatting strings to force a ‘+’ in front of positive numbers. Is this possible do you know?
Kieren


From: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Stephen McMillan
Sent: 03 June 2015 16:25
To: GrADS Users Forum
Subject: Re: [gradsusr] Format gxout grid output numbers

Kieren,
You can use 'set digsiz' and 'set dignum' to format the gxout grid output on screen.  For example:

'set digsiz 0.15'
'set dignum 3'

The second will force three decimal places
Stephen

On Wed, Jun 3, 2015 at 8:11 AM, Marsh, Kieren [FGUAE] <k.marsh at fugro-uae.com<mailto:k.marsh at fugro-uae.com>> wrote:
Is it possible to format numbers output from gxout grid?
I’ve tried using math_format but I don’t think it works on gridded variables, only on single values.
Regards
Kieren



_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150603/8650529c/attachment.html 


More information about the gradsusr mailing list