<div dir="ltr">Kieren,<div>Unfortunately, I don't believe there's a way to use that type of formatting directly with the display command. However, it should be possible to do it with 'draw string...' and the type of number formatting you want. I do not have an example for you at this time.</div><div>Stephen</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 3, 2015 at 8:38 AM, Marsh, Kieren [FGUAE] <span dir="ltr"><<a href="mailto:k.marsh@fugro-uae.com" target="_blank">k.marsh@fugro-uae.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:106%"><span style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1f497d">Thank Stephen,<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:106%"><span style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1f497d">I was hoping to use c code formatting strings to force a ‘+’ in front
of positive numbers. Is this possible do you know?<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:106%"><span style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1f497d">Kieren</span><span style="font-size:11.0pt;line-height:106%;font-family:"Calibri",sans-serif;color:#1f497d"><br>
<br>
<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"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <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>Stephen McMillan<br>
<b>Sent:</b> 03 June 2015 16:25<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Format gxout grid output numbers<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Kieren,<u></u><u></u></p>
<div>
<p class="MsoNormal">You can use 'set digsiz' and 'set dignum' to format the gxout grid output on screen. For example:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">'set digsiz 0.15'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">'set dignum 3'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The second will force three decimal places<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Stephen<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Wed, Jun 3, 2015 at 8:11 AM, Marsh, Kieren [FGUAE] <<a href="mailto:k.marsh@fugro-uae.com" target="_blank">k.marsh@fugro-uae.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:105%">
Is it possible to format numbers output from gxout grid?<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:105%">
I’ve tried using math_format but I don’t think it works on gridded variables, only on single values.<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:8.0pt;line-height:105%">
Regards<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt;line-height:105%">
<span style="color:#888888">Kieren<b><br>
<br>
</b><u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p>
</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>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</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></div>