[ncl-talk] user defined country border over default map

Mary Haley haley at ucar.edu
Tue May 30 09:50:16 MDT 2017


Dear Sujit,

Please see example polyg_9.ncl at:

http://www.ncl.ucar.edu/Applications/polyg.shtml#ex9

polyg_11.ncl is similar.

To draw *any* type of lines or markers on an existing map, you simply need
to call either gsn_polyline / gsn_add_polyline or gsn_polymarker /
gsn_add_polymarker, and pass the lon, lat arrays where you want lines or
markers.

The link above explains the difference between the using the "add" version
of the function, or the procedure without the "add".

If you are new to NCL, you may want to read the NCL User Guide at:

http://www.ncl.ucar.edu/Document/Manuals/NCL_User_Guide/

The "NUG", as we call it, comes with 100 examples that have the data files
provided, so you can download and run them yourself.

The NUG has an example of plotting markers and lines on a map that is
similar to the above two examples.  See example
NUG_polyline_polygon_polymarker.ncl at:

http://www.ncl.ucar.edu/Applications/NUG.shtml#NUG_polyline_polygon_polymarker

--Mary


On Mon, May 29, 2017 at 10:06 PM, Sujit Maji <sujit.cat at tropmet.res.in>
wrote:

> Dear All,
>
> I want to draw country boundary using lat,lon data from text file over
> default ncl country border. Please share your experience if anyone have
> done that.
>
> Thanks and Regards,
> Sujit Maji
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170530/a81cf046/attachment.html 


More information about the ncl-talk mailing list