<div dir="ltr">Thank you all, this helps!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 8 Mar 2019 at 18:46, <<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send gradsusr mailing list submissions to<br>
        <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gradsusr-owner@gradsusr.org" target="_blank">gradsusr-owner@gradsusr.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gradsusr digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: North Arrow (Jeff Duda)<br>
   2. Re: North Arrow (Tim Van Damme)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 7 Mar 2019 15:01:13 -0700<br>
From: Jeff Duda <<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>><br>
To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
Subject: Re: [gradsusr] North Arrow<br>
Message-ID:<br>
        <CAAig09CHq52cvkmT2N8kiSbs=g00pPRpR9j7Ac0=<a href="mailto:aaCPuZEWkA@mail.gmail.com" target="_blank">aaCPuZEWkA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
As far as I know there is no script in the library to do this, so you will<br>
have to do it manually.<br>
<br>
-North arrow: Draw it using "draw poly" or there is likely a font #3<br>
specification of an arrow in the Grads fonts library. I'm not sure which<br>
hotkey it is, but if you run <a href="http://fonts.gs" rel="noreferrer" target="_blank">fonts.gs</a> it will print out a map that you can<br>
use to determine that. In the code you would say<br>
'set font 3'<br>
'draw string XXX YYY ((()))' [whatever the key is for the arrow]<br>
<br>
-As for the scale, hopefully you know the grid spacing of the data. You can<br>
use the 'q pos' and 'q xy2w' functions to query some known points (with a<br>
known distance) on your map and then use the great circle distance formula<br>
to calculate the distance. You can also use 'q gr2xy' using grid index<br>
points instead of world coordinates to know how long of a bar to draw<br>
corresponding to a known N*dx.<br>
<br>
Jeff Duda<br>
<br>
On Thu, Mar 7, 2019 at 12:29 AM Joe Nayo <<a href="mailto:nayojoee@gmail.com" target="_blank">nayojoee@gmail.com</a>> wrote:<br>
<br>
> Dear GrADS Users,<br>
><br>
> Is there a way of displaying a north arrow and scale on a map?<br>
><br>
> Any help will be appreciated,<br>
> Joe.<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
><br>
<br>
<br>
-- <br>
Jeff Duda, Research Scientist<br>
University of Colorado Boulder<br>
Cooperative Institute for Research in Environmental Sciences<br>
NOAA/OAR/ESRL/Global Systems Division<br>
Boulder, CO<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://gradsusr.org/pipermail/gradsusr/attachments/20190307/db9a1ba3/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20190307/db9a1ba3/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 8 Mar 2019 12:52:08 +0100<br>
From: "Tim Van Damme" <<a href="mailto:tim@stormcell.be" target="_blank">tim@stormcell.be</a>><br>
To: "'GrADS Users Forum'" <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br>
Subject: Re: [gradsusr] North Arrow<br>
Message-ID: <000c01d4d5a5$5c5f8130$151e8390$@<a href="http://stormcell.be" rel="noreferrer" target="_blank">stormcell.be</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello Joe,<br>
<br>
<br>
<br>
I am not sure if you can plot this straight from GrADS, but I know there is a workaround. <br>
<br>
If for example you plot a chart at 800 x 600 pixels, you can always create a transparent overlay with a compass and a scale. <br>
<br>
<br>
<br>
For example: I plot a chart that defines the chance of thunderstorms. The outcome of the formula is a number between -12 and 12, but that makes it difficult for people to understand, so I created an overlay that says: very low chance ? low chance ? medium chance ? high chance ? very high chance.<br>
<br>
<br>
<br>
To use the overlay you need to make sure the png file is situated in the folder where the chart is plotted, and it needs to have the same size. <br>
<br>
<br>
<br>
Then use ?gxprint filename.png x800 y600 ?f overlayimagename.png?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Met vriendelijke groeten,<br>
<br>
<br>
<br>
Tim Van Damme<br>
<br>
+32 499 61 25 61<br>
<br>
 <mailto:<a href="mailto:tim@stormcell.be" target="_blank">tim@stormcell.be</a>> <a href="mailto:tim@stormcell.be" target="_blank">tim@stormcell.be</a><br>
<br>
<br>
<br>
From: gradsusr [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Joe Nayo<br>
Sent: 07 March 2019 08:27<br>
To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
Subject: [gradsusr] North Arrow<br>
<br>
<br>
<br>
Dear GrADS Users,<br>
<br>
Is there a way of displaying a north arrow and scale on a map?<br>
<br>
Any help will be appreciated,<br>
<br>
Joe.    <br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://gradsusr.org/pipermail/gradsusr/attachments/20190308/a1c4be6a/attachment.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20190308/a1c4be6a/attachment.html</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: image002.jpg<br>
Type: image/jpeg<br>
Size: 25681 bytes<br>
Desc: not available<br>
URL: <<a href="http://gradsusr.org/pipermail/gradsusr/attachments/20190308/a1c4be6a/attachment.jpg" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20190308/a1c4be6a/attachment.jpg</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
------------------------------<br>
<br>
End of gradsusr Digest, Vol 109, Issue 15<br>
*****************************************<br>
</blockquote></div>