Re: mark location on global map

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 02 2010 - 13:46:45 MST

Hi Mark,

You can use gsn_add_polymarker to "attach" the markers to your map. Then, when you draw the map, the markers will get drawn with it.

You can look at examples 4 and 5 on this page:

http://www.ncl.ucar.edu/Applications/annotate.shtml

Example 5 on the above page shows you how to read a file with columns of data. The "annotate5.txt" file is linked to on this page, and it looks similar to your file:

[AFF] 39.52 105.35 Air Force A,CO
[AKO] 40.17 103.22 Akron,CO
[ALS] 37.45 105.87 Alamosa,CO
[ASE] 39.22 106.87 Aspen,CO
[BJC] 39.90 105.12 Brmfield/Jef,CO
You can also see example 3 at:

http://www.ncl.ucar.edu/Applications/scatter.shtml

--Mary

On Dec 1, 2010, at 4:07 PM, Mark Chan wrote:

> Hi
>
> Below is a data example with which I hope to make 'mark' (e.g. blue dot) for
> each of the location on the global map. Can one give a hint how to do it with
> NCL? Thanks!
>
> longitude latitude name
> 116.40 39.90 st1
> 114.10 22.39 st2
> -70.00 40.71 st3
> -71.05 42.35 st4
> -99.12 19.42 st5
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 2 13:46:52 2010

This archive was generated by hypermail 2.1.8 : Mon Dec 06 2010 - 09:18:10 MST