|
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:
|