Yes, I'll show how to do this with the polymark demo; the LABEL command
makes a label at any point on the plot. We can use the variables lat
and lon
to label the value of the some of the points.
yes? use polydata ! this is in the Ferret distribution.
yes? go basemap x=130:250 Y=20:65 20
yes? go polymark poly/over/key/title="SST along track" lon lat sst star
yes? show data
! Label every fifth point. The marks around lon, lat and sst are grave
accents,
! to force evaluation of the variables at the particular value of I at
each repeat.
! The value of SST is put into a string.
yes? repeat/i=1:37:5 (label `lon`, `lat`, 0, 0, 0.1, "`sst`")
You might want to move the labels slightly away from the points, by
using,
say, `lat+1`
And, we can clean up the labels by limiting their precision:
yes? repeat/i=1:37:5 (def sym sstlab = "`sst,prec=2`"; label
`lon`,`lat+1`,0,0,0.1,($sstlab) )
Ansley
cch wrote:
Hi, Ansely.
I could plot the figure that I want
now.
Thanks for your help!
But I have another question, that is,
could I write the station data value
around each point?
thanks.
-----
Original Message -----
Sent:
Thursday, April 29, 2004 1:28 AM
Subject:
Re: How to plot a map-plotting figure with station data?
Hi,
I'm not sure what you are asking. You can draw a map using a
topographic data set and overlay the locations of your stations
using the POLYGON command. Here is a demonstration which
does that. The example shows a ship track, but it shows how to
plot a set of longitude, latitude locations.
http://www.ferret.noaa.gov/Ferret/Demos/polymark_demo/polymark_demo.html
If this is not what you're asking, please write again and we'll try to
help you make the plot you want.
Ansley Manke
cch wrote:
Hi all,
I want to plot map-plotting figure with my
station data using ferret v5.6.
Does ferret has this function?
Anybody knows how to do this work?
Thanks for your help!
|