[Thread Prev][Thread Next][Index]
Re: graticules and boxes
Karen Bice wrote:
> I am plotting a map on which I want to overlay a box (using go box ...)
> and lat/lon graticules (using go graticule).
>
> The problem I have is that the box and graticule lines plot first (under
> the color fill of the map) or not at all. HOw can I plot them on top of
> the color fill?
>
Hi Karen,
Go graticule will always behave as you describe. You can, however, achieve the same effect using the CONTOUR command.
The technique is illustrated in gridxy.jnl, which is a standard script with Ferret.
>
> Also, is there an easy way to place a symbol at a specified lat/lon
> location on a map?
>
2 ways:
1. PLOT/VS/OVERLAY/SYM xloc, yloc ! use /SYMBOL=nnn to control symbol
2. The LABEL command can do this. The font "@PM" allows you to use the centered "plot marks" (see
http://ferret.wrc.noaa.gov/Ferret/Documentation/Users_Guide/v50/partII.html#label$LABEL)
- steve
>
> ---------------------------------------------------------
> DEFINE AXIS/x=70W:30W:0.5/UNITS=deg lon
> DEFINE AXIS/y=30N:10S:0.5/UNITS=deg lat
> DEFINE GRID/x=lon/y=lat levgrid
> FILE/ORDER=xy/GRID=levgrid/VAR="fred,ethel,dep" cearahalfm.xyz2
>
> set region/x=70W:30W/y=10S:30N
>
> CONTOUR/NOLABELS/FILL/NOKEY/PALETTE=dark_terrestrial.spk/lev="(0,2200,100)"
> dep
> CONTOUR/NOLABELS/FILL/NOKEY/overlay/PALETTE=ocean_blue.spk/lev="(-8000,-6000,2000)(-6000,-1000,1000)(-1000,0,250)"
> dep
> CONTOUR/NOLABELS/LINE/overlay/lev="(-8000,-1000,1000)(-50)" dep
>
> go graticule
> go box 1 2 1 2
--
Steve Hankin
NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080 -- FAX (206) 526-6744
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement