Dear NCL users,
I am trying to add rectagle on a map.
There is way to modify the following NCL example to perform it?
To add for exemple a rectangle bounded by coordinates
(-50°, 0°) Longitude and (-25°, 25°) latitude.
;================================================;
; maponly_3.ncl
;================================================;
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
; ================================================;
begin
wks = gsn_open_wks("ps","maponly") ; open a ps file
gsn_define_colormap(wks,"wh-bl-gr-ye-re") ; choose a colormap
res = True ; mods desdired
res_at_mpOceanFillColor = 5 ; array index in color map
res_at_mpLandFillColor = 164 ; for land, ocean, and inland h20
res_at_mpInlandWaterFillColor = 54
plot = gsn_csm_map_ce(wks,res) ; draw global map
end
Thanks
---------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Dec 12 2007 - 09:31:15 MST
This archive was generated by hypermail 2.2.0 : Wed Dec 12 2007 - 16:19:09 MST