[gradsusr] How to draw string that matches default title settings?

Tracey tdorian10 at gmail.com
Fri Jun 15 19:20:24 EDT 2018


Hi Lyndz,

Thanks so much for your help!  Based on your suggestions, I was able to get
the title to look the way I wanted by adding the following to my script:

'q gxinfo'

xs=sublin(result,3)

ys=sublin(result,4)

xs=subwrd(xs,4)' 'subwrd(xs,6)

ys=subwrd(ys,4)' 'subwrd(ys,6)


x_cent=(subwrd(xs,2)+subwrd(xs,1))/2

y_cent=(subwrd(ys,2)+subwrd(ys,1))/2

'set strsiz 0.199 0.24'

'set string 1 c 6'

'draw string 'x_cent' 'y_cent+3.9' Cycle 2018061018 f03 Valid 2018061021'

'draw string 'x_cent' 'y_cent+3.6' 2m Dewpoint [F]'



The attached image shows the final product.


Thanks again!

Tracey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180615/fc23960a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dewpoint.png
Type: image/png
Size: 62088 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20180615/fc23960a/attachment-0001.png>


More information about the gradsusr mailing list