Hi,
For reasons I don't understand, the mpUSStateLineColor appears to
apply to China provinces. Try this script:
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("x11","map") ; Open a ps file
res = True
res@gsnMaximize = True ; Maximize plot in frame.
res@mpDataSetName = "Earth..4" ; This new database contains
; divisions for other
countries.
res@mpDataBaseVersion = "MediumRes" ; Medium resolution database
res@mpOutlineOn = True ; Turn on map outlines
res@mpOutlineSpecifiers = "China:states"
res@mpUSStateLineColor = "Blue"
res@mpNationalLineColor = "Blue"
res@mpGeophysicalLineColor= "Blue"
res@mpFillOn = False
res@tiMainString = "Provinces of China"
res@mpMinLatF = 17 ; Asia limits
res@mpMaxLatF = 55
res@mpMinLonF = 72
res@mpMaxLonF = 136
plot = gsn_csm_map(wks,res)
end
You may want to play with the three mpXXXLineColor resources to get
the results you want.
--Mary
On Dec 30, 2009, at 7:42 PM, 赵润华 wrote:
> Dear everybody:
>
> I want to change the provinces' color line in China, as the
> mapplot resource does: such as mpUSStateLineColor. What should i do?
> Thanks for your help!
> Happy New Year!
>
> res@mpDataSetName = "Earth..4"
> res@mpDataBaseVersion = "MediumRes"
> res@mpOutlineOn = True
> res@mpOutlineSpecifiers = "China::states"
>
>
>
>
> _______________________________________________
> 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 Tue Jan 5 10:18:09 2010
This archive was generated by hypermail 2.1.8 : Tue Jan 05 2010 - 11:04:11 MST