projecting in nsp

Ertl, John C CIV 63134 john.ertl at NAVY.MIL
Wed Aug 29 14:25:55 EDT 2007


Classification: UNCLASSIFIED 
Caveat (s): FOUO

Thanks to all in solving my last problem.

I have a regular spaced lat lon grid that I plot using mproj = latlon and I can control the lat lon that I view by setting the lat lon but I now want to project on to nsp but be able to control how much I see.  for example I only want to see lat north of 65N.

I can project the entire data set on to nsp but how do I tell it to only show/plot north of a certain lat?

Thanks

John Ertl
Meteorologist

FNMOC
7 Grace Hopper Ave.
Monterey, CA 93943
(831) 656-5704
john.ertl at navy.mil

Classification: UNCLASSIFIED 
Caveat (s): FOUO



From: Mary Jo Nath
Sent: Wed 8/29/2007 8:38 AM
To: GRADSUSR at LIST.CINECA.IT
Subject: Re: adding text to images


John,

I'd use a grads script to return the XY coordinates of the sides of the
plot using "q gxinfo", then use "draw string" to plot labels relative to
the 4 corners.  Include something like this to  get the X and Y values
of the sides of the plots:

'q gxinfo'
xvalues=sublin(result,3)
yvalues=sublin(result,4)
* xl = plot starts xl inches from left
* xr = plot ends xr inches from left
* yb = plot starts yb inches from bottom
* yt = plot ends yt inches from bottom
xl=subwrd(xvalues,4)
xr=subwrd(xvalues,6)
yb=subwrd(yvalues,4)
yt=subwrd(yvalues,6)


The lower left corner of the plot would be at "xl" "yb". Upper left at
"xl" "yt". Upper right "xr" "yt". Lower right "xr" "yb".

MJ

Ertl, John C CIV 63134 wrote:
> All,
>
> I have a plot that looks great except that when I change the lat/lon
> of the plot area the image resizes and some of the labels that I have
> placed (using draw string) in the corners of the image now no longer
> draw in the correct place (I guess they draw in the same place but the
> image has changed its dimensions.  How can I have a label show up in
> the plotted area and stay in the corner even when the plotted area
> changes.
>
> Thanks
>
> John Ertl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070829/91fdc9b5/attachment.html 


More information about the gradsusr mailing list