[gradsusr] gradsusr Digest, Vol 109, Issue 15

Joe Nayo nayojoee at gmail.com
Sat Mar 9 15:13:17 EST 2019


Thank you all, this helps!

On Fri, 8 Mar 2019 at 18:46, <gradsusr-request at gradsusr.org> wrote:

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


More information about the gradsusr mailing list