<html><head></head><body><div class="">thanks for your advice, those extra lines has gone.</div><div>&nbsp;</div><hr style="WIDTH: 210px; HEIGHT: 1px" color="#b5c4df" size="1" align="left"><div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>dyjbean@163.com</div></div></span></div><blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em"><div>&nbsp;</div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b>&nbsp;<a href="mailto:haley@ucar.edu">Mary Haley</a></div><div><b>Date:</b>&nbsp;2015-10-26&nbsp;23:48</div><div><b>To:</b>&nbsp;<a href="mailto:dyjbean@163.com">dyjbean@163.com</a></div><div><b>CC:</b>&nbsp;<a href="mailto:ncl-talk@ucar.edu">ncl-talk</a></div><div><b>Subject:</b>&nbsp;Re: [ncl-talk] extra profile in plot with shapefile, how can i get rid of them?</div></div></div><div><div class=""><style>div.FoxDIV_20151027090916321 { font-size: 10.5pt }
div.FoxDIV_20151027090916321 .netease-attDown { width:430px;height:auto;background-color:#F6F9FC;border:#C5D2DA 1px solid;padding:12px;line-height:160%;font-size:12px;white-space:nowrap;font-family:Verdana}
div.FoxDIV_20151027090916321 .netease-attDown-tit { color:#A0A0A0 }
div.FoxDIV_20151027090916321 .netease-attDown-tit strong { color:#008000 }
div.FoxDIV_20151027090916321 .netease-attDown a { color:#0669B2}
div.FoxDIV_20151027090916321 .netease-attDown dl ,div.FoxDIV_20151027090916321 .netease-attDown dt ,div.FoxDIV_20151027090916321 .netease-attDown dd { margin:0;padding:0;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
div.FoxDIV_20151027090916321 .netease-attDown dt { font-weight:bold;color:#333;margin-top:8px}
div.FoxDIV_20151027090916321 .netease-attDown dt .info {color:#999;font-weight:normal}
div.FoxDIV_20151027090916321 .netease-notice {padding-bottom:5px;white-space:normal}
</style><div class="FoxDIV_20151027090916321">






<div foxmail_class="mail_content_body">
<div dir="ltr"><div class="gmail_default" style="font-size:small">I think these are map outlines that you see.&nbsp; Try setting:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">res@mpOutlineOn = False</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 9:21 AM, <a href="mailto:dyjbean@163.com">dyjbean@163.com</a> <span dir="ltr">&lt;<a href="mailto:dyjbean@163.com" target="_blank">dyjbean@163.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<table width="99.99%" height="100%" style="padding:10px;background-color:transparent" border="0" cellpadding="0" cellspacing="0" background="bg(10-27-09-09-16).jpg">
<tbody><tr>
<td valign="top" style="width:100%;height:100%;line-height:160%;font-size:10.5pt">
<div>
<div><span></span>hi,</div><div>&nbsp; i made a plot with shapefile , but there exist some extra lines in figure, as follows:</div><div>&nbsp; &nbsp;&nbsp;<img src="cid:_Foxmail.14745957-82d7-3b33-5689-d8287d94cee4" border="0" style="font-size:10.5pt;line-height:160%;background-color:transparent" norescale="true"></div>
<div><br></div><div>&nbsp;there some extra lines on figure above. how can i get rid of them?</div><div><br></div><div><br></div><div>the following is my script:</div><div>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div><div><span style="color:rgb(0,0,0);background-color:rgba(0,0,0,0)">load&nbsp;"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>load&nbsp;"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>load&nbsp;"$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"<br>load&nbsp;"$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"<br>load&nbsp;"./shapefile_mask_data.ncl"<br><br>begin<br>;forgname="../../globecover_hubei_liuhuan_usgs_ronghe_snow-ice1.txt"<br>forgname="beijing_globecover_liuhuan30_usgs_changed.txt"<br>;fconname="../../globecover_huabei_liuhuan_usgs_new_allocate1.txt"<br>fconname="beijing_globecover_liuhuan30_usgs_changed_lir-mir-hir.txt"<br><br>onlat=5403<br>omlon=5403<br><br>nnlat=1801<br>nmlon=1801<br><br>odat=new((/onlat,omlon/),"integer","No_FillValue")<br>ndat=new((/nnlat,nmlon/),"integer","No_FillValue")<br><br>odat=readAsciiTable(forgname,omlon,"integer",5)<br>ndat=asciiread(fconname,(/nnlat,nmlon/),"integer")<br>delete(odat@_FillValue)<br>delete(ndat@_FillValue)<br><br>;;&nbsp;confused&nbsp;lc<br>olat=new((/onlat/),"float","No_FillValue")<br>olon=new((/omlon/),"float","No_FillValue")<br><br>do&nbsp;i=0,onlat-1<br>&nbsp;olat(i)=45.00413067-i*0.0027778<br>end&nbsp;do<br><br><br>do&nbsp;j=0,omlon-1<br>&nbsp;olon(j)=109.99606533+j*0.0027778<br>end&nbsp;do<br><br>olat!0="lat"<br>olat@units="degrees_north"<br>olat@long_name="latitude"<br><br>olon!0="lon"<br>olon@units="degrees_east"<br>olon@long_name="longitude"<br><br>odat!0="lat"<br>odat!1="lon"<br>odat&amp;lat=olat<br>odat&amp;lon=olon<br>odat@units=""<br>odat@long_name="land&nbsp;cover&nbsp;confused&nbsp;with&nbsp;globaland30&nbsp;and&nbsp;globercover"<br><br>;;&nbsp;new&nbsp;classified&nbsp;lc<br>nlat=new((/nnlat/),"float","No_FillValue")<br>nlon=new((/nmlon/),"float","No_FillValue")<br><br>do&nbsp;i=0,nnlat-1<br>&nbsp;nlat(i)=45.00413067-i*0.0083334<br>end&nbsp;do<br><br><br>do&nbsp;j=0,nmlon-1<br>&nbsp;nlon(j)=109.99606533+j*0.0083334<br>end&nbsp;do<br><br>nlat!0="lat"<br>nlat@units="degrees_north"<br>nlat@long_name="latitude"<br><br>nlon!0="lon"<br>nlon@units="degrees_east"<br>nlon@long_name="longitude"<br><br>ndat!0="lat"<br>ndat!1="lon"<br>ndat&amp;lat=nlat<br>ndat&amp;lon=nlon<br>ndat@units=""<br>ndat@long_name="land&nbsp;cover&nbsp;new&nbsp;categories&nbsp;after&nbsp;confused"<br><br>;<br>;&nbsp;If&nbsp;you&nbsp;already&nbsp;have&nbsp;the&nbsp;mask&nbsp;NetCDF&nbsp;file,&nbsp;set&nbsp;this&nbsp;to&nbsp;False.<br>;&nbsp;Creating&nbsp;the&nbsp;mask&nbsp;can&nbsp;be&nbsp;slow!<br>;<br>&nbsp;&nbsp;&nbsp;CREATE_MASK&nbsp;=&nbsp;True<br><br>;---Whether&nbsp;to&nbsp;draw&nbsp;lat/lon&nbsp;points&nbsp;and&nbsp;shapefile&nbsp;outlines<br>&nbsp;&nbsp;&nbsp;ADD_LATLON_POINTS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;False<br>&nbsp;&nbsp;&nbsp;ADD_SHAPEFILE_OUTLINES&nbsp;=&nbsp;True<br><br>;---Name&nbsp;of&nbsp;shapefile&nbsp;containing&nbsp;USA&nbsp;outlines<br>&nbsp;&nbsp;&nbsp;shp_fname&nbsp;=&nbsp;"jingjinji.shp"<br><br>;---Name&nbsp;of&nbsp;file&nbsp;to&nbsp;write&nbsp;mask&nbsp;to&nbsp;or&nbsp;to&nbsp;read&nbsp;mask&nbsp;from.<br>&nbsp;&nbsp;&nbsp;mask_oname&nbsp;=&nbsp;"<a href="http://jingjinji_mask_300m.nc" target="_blank">jingjinji_mask_300m.nc</a>"<br>&nbsp;&nbsp;&nbsp;mask_nname&nbsp;=&nbsp;"<a href="http://jingjinji_mask_1km.nc" target="_blank">jingjinji_mask_1km.nc</a>"<br><br>;---Rough&nbsp;area&nbsp;we&nbsp;are&nbsp;interested&nbsp;in.&nbsp;Everything&nbsp;outside&nbsp;this&nbsp;will&nbsp;be&nbsp;masked.<br>&nbsp;&nbsp;&nbsp;minlon&nbsp;=&nbsp;113.<br>&nbsp;&nbsp;&nbsp;maxlon&nbsp;=&nbsp;120.<br>&nbsp;&nbsp;&nbsp;minlat&nbsp;=&nbsp;&nbsp;36.0<br>&nbsp;&nbsp;&nbsp;maxlat&nbsp;=&nbsp;&nbsp;43.0<br><br>;;&nbsp;odat<br>if(CREATE_MASK)&nbsp;then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print("Creating&nbsp;the&nbsp;mask&nbsp;file...")<br><br>;---Create&nbsp;a&nbsp;new&nbsp;mask&nbsp;using&nbsp;a&nbsp;shapefile&nbsp;of&nbsp;USA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;odims&nbsp;=&nbsp;dimsizes(odat)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opto&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opto@return_mask&nbsp;=&nbsp;True<br>;&nbsp;&nbsp;&nbsp;&nbsp;opto@debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opto@minlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;minlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;Makes&nbsp;the&nbsp;shapefile&nbsp;masking<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opto@maxlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;maxlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;go&nbsp;faster.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opto@minlat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;minlat<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;opto@maxlat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;maxlat<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;odat_mask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;shapefile_mask_data(odat,shp_fname,opto)<br><br>;---Write&nbsp;new&nbsp;mask&nbsp;to&nbsp;file<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;system("rm&nbsp;-f&nbsp;"&nbsp;+&nbsp;mask_oname)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;addfile(mask_oname,"c")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oout-&gt;odat_mask&nbsp;=&nbsp;odat_mask<br>&nbsp;&nbsp;&nbsp;else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print("Reading&nbsp;mask&nbsp;off&nbsp;file.")<br><br>;---Read&nbsp;the&nbsp;new&nbsp;mask&nbsp;from&nbsp;the&nbsp;NetCDF&nbsp;file<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;omask&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;addfile(mask_oname,"r")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;odat_mask&nbsp;=&nbsp;omask-&gt;odat_mask<br>&nbsp;&nbsp;&nbsp;end&nbsp;if<br><br>;;&nbsp;ndat<br>if(CREATE_MASK)&nbsp;then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print("Creating&nbsp;the&nbsp;mask&nbsp;file...")<br><br>;---Create&nbsp;a&nbsp;new&nbsp;mask&nbsp;using&nbsp;a&nbsp;shapefile&nbsp;of&nbsp;USA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ndims&nbsp;=&nbsp;dimsizes(ndat)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optn@return_mask&nbsp;=&nbsp;True<br>;&nbsp;&nbsp;&nbsp;&nbsp;optn@debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optn@minlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;minlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;Makes&nbsp;the&nbsp;shapefile&nbsp;masking<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optn@maxlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;maxlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;go&nbsp;faster.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optn@minlat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;minlat<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;optn@maxlat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;maxlat<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ndat_mask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;shapefile_mask_data(ndat,shp_fname,optn)<br><br>;---Write&nbsp;new&nbsp;mask&nbsp;to&nbsp;file<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;system("rm&nbsp;-f&nbsp;"&nbsp;+&nbsp;mask_nname)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nout&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;addfile(mask_nname,"c")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nout-&gt;ndat_mask&nbsp;=&nbsp;ndat_mask<br>&nbsp;&nbsp;&nbsp;else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print("Reading&nbsp;mask&nbsp;off&nbsp;file.")<br><br>;---Read&nbsp;the&nbsp;new&nbsp;mask&nbsp;from&nbsp;the&nbsp;NetCDF&nbsp;file<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nmask&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;addfile(mask_nname,"r")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ndat_mask&nbsp;=&nbsp;nmask-&gt;ndat_mask<br>&nbsp;&nbsp;&nbsp;end&nbsp;if<br><br>;---Create&nbsp;masked&nbsp;data&nbsp;array<br>&nbsp;&nbsp;&nbsp;omask&nbsp;=&nbsp;where(odat_mask.eq.1,odat,odat@_FillValue)<br>&nbsp;&nbsp;&nbsp;copy_VarMeta(odat,omask)<br><br>;---Create&nbsp;masked&nbsp;data&nbsp;array<br>&nbsp;&nbsp;&nbsp;nmask&nbsp;=&nbsp;where(ndat_mask.eq.1,ndat,ndat@_FillValue)<br>&nbsp;&nbsp;&nbsp;copy_VarMeta(ndat,nmask)<br><br><br>print(odat(onlat-1,omlon-1))<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>;;&nbsp;create&nbsp;plot<br>;;;;;;;;;;;;;;;;;;;;;;;;;;;;<br>plot=new(2,"graphic")<br>info=(/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1&nbsp;urban_and_built-in"&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"2&nbsp;dryland_cropland"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"3&nbsp;irrigated_cropland"&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"4&nbsp;mixed_dry_cropland"&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"5&nbsp;cropland_grassland"&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"6&nbsp;cropland_woodland"&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"7&nbsp;grassland"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"8&nbsp;shrubland"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"9&nbsp;mixed_shrub_grassland",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"10&nbsp;savanna"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"11&nbsp;deciduous_broadleaf"&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"12&nbsp;deciduous_needleleaf"&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"13&nbsp;evergreen_broadleaf"&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"14&nbsp;evergreen_needleleaf"&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"15&nbsp;mixed_forest"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"16&nbsp;water"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"17&nbsp;herbaceous_wetland"&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"18&nbsp;wooded_wetland"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"19&nbsp;barren_or_sparse"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"31&nbsp;low_intensity_res"&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"32&nbsp;mid_intensity_res"&nbsp;&nbsp;&nbsp;&nbsp;,\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"33&nbsp;high_intensity_res"/)<br><br>ninfo=dimsizes(info)<br><br>&nbsp;&nbsp;ninfo&nbsp;=&nbsp;dimsizes(info)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;#&nbsp;of&nbsp;classifications<br><br><br>;************************************************<br>;&nbsp;create&nbsp;plot<br>;************************************************<br>&nbsp;&nbsp;pltType&nbsp;=&nbsp;"png"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;ps,&nbsp;pdf,&nbsp;png,&nbsp;x11,&nbsp;eps<br><br><br><br>&nbsp;&nbsp;colorscheme&nbsp;=(/"red","SpringGreen2","SpringGreen3","springgreen",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"limegreen","darkolivegreen3","green","lightsalmon","green3",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"LightSeaGreen","palegreen","olivedrab3","chartreuse2","chartreuse3",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"darkgreen","blue","hotpink2","hotpink","light&nbsp;cyan",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"khaki1","violetred1","purple3"/)<br><br>&nbsp;&nbsp;ncolors&nbsp;=&nbsp;dimsizes(colorscheme)<br>&nbsp;&nbsp;if&nbsp;(ninfo.ne.ncolors)&nbsp;then&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;make&nbsp;sure&nbsp;#&nbsp;of&nbsp;colors&nbsp;match&nbsp;categories&nbsp;(classes)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print("size&nbsp;mismatch:&nbsp;ninfo="+ninfo+"&nbsp;&nbsp;&nbsp;ncolors="+ncolors)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exit<br>&nbsp;&nbsp;end&nbsp;if<br><br>&nbsp;&nbsp;wks&nbsp;=&nbsp;gsn_open_wks(pltType,"plot_lc_jingjinji_new")<br>&nbsp;&nbsp;plot=new(2,graphic)<br>&nbsp;&nbsp;res&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;True&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;plot&nbsp;mods&nbsp;desired<br>&nbsp;&nbsp;res@gsnDraw&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;False<br>&nbsp;&nbsp;res@gsnFrame&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;False<br>&nbsp;&nbsp;;res@gsnMaximize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;True&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;ps,&nbsp;pdf<br>&nbsp;&nbsp;res@gsnAddCyclic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;False<br><br>&nbsp;&nbsp;;res@mpMinLatF&nbsp;&nbsp;&nbsp;=&nbsp;min(odat&amp;lat)<br>&nbsp;&nbsp;;res@mpMaxLatF&nbsp;&nbsp;&nbsp;=&nbsp;max(odat&amp;lat)<br>&nbsp;&nbsp;;res@mpMinLonF&nbsp;&nbsp;&nbsp;=&nbsp;min(odat&amp;lon)<br>&nbsp;&nbsp;;res@mpMaxLonF&nbsp;&nbsp;&nbsp;=&nbsp;max(odat&amp;lon)<br><br>&nbsp;&nbsp;res@cnFillOn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;True&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;color&nbsp;Fill<br>&nbsp;&nbsp;res@cnFillMode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"RasterFill"<br>&nbsp;&nbsp;res@cnLinesOn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;False&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;Turn&nbsp;off&nbsp;contour&nbsp;lines<br>&nbsp;&nbsp;res@cnLineLabelsOn&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;False<br>&nbsp;&nbsp;res@cnLevelSelectionMode&nbsp;=&nbsp;"ExplicitLevels"&nbsp;;&nbsp;set&nbsp;explict&nbsp;contour&nbsp;levels<br>&nbsp;&nbsp;res@cnLevels&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;tobyte((/2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,31,32,33/))&nbsp;;&nbsp;tobyte(ispan(1,ninfo-1,1)+1)<br>&nbsp;&nbsp;res@cnFillPalette&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;colorscheme&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;distinct&nbsp;colors&nbsp;for&nbsp;categories<br>&nbsp;&nbsp;res@gsnSpreadColors&nbsp;&nbsp;=&nbsp;False&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;use&nbsp;each&nbsp;color&nbsp;sequentially<br>&nbsp;&nbsp;res@cnInfoLabelOn&nbsp;&nbsp;&nbsp;=&nbsp;False<br><br>&nbsp;&nbsp;;res@lbLabelPosition&nbsp;&nbsp;=&nbsp;"Center"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;label&nbsp;position<br>&nbsp;&nbsp;;res@lbLabelAlignment&nbsp;=&nbsp;"BoxCenters"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;label&nbsp;orientation<br>&nbsp;&nbsp;;res@lbLabelStrings&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;(/"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;"17","18","19","31","32","33"/)<br>&nbsp;;res@lbLabelStrings&nbsp;&nbsp;&nbsp;=&nbsp;ispan(0,ninfo,1)<br>&nbsp;&nbsp;;res@lbLabelStride&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;1<br>&nbsp;&nbsp;;res@lbLabelAutoStride&nbsp;=&nbsp;False&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;in&nbsp;V6.1.0&nbsp;and&nbsp;up,&nbsp;this&nbsp;is&nbsp;defaulted<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;to&nbsp;True,&nbsp;and&nbsp;overrides&nbsp;lbLabelStride<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;default.&nbsp;Set&nbsp;this&nbsp;to&nbsp;ensure&nbsp;that<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;your&nbsp;label&nbsp;scheme&nbsp;is&nbsp;preserved.<br>&nbsp;&nbsp;;res@pmLabelBarHeightF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;0.075<br>&nbsp;&nbsp;;res@pmLabelBarWidthF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;0.60&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;default&nbsp;is&nbsp;0.6<br>&nbsp;&nbsp;;res@pmLabelBarOrthogonalPosF&nbsp;=&nbsp;&nbsp;0.08&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;move&nbsp;up&nbsp;smidge<br><br>&nbsp;&nbsp;res@mpFillOn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;False<br><br>&nbsp;&nbsp;;res@mpGridAndLimbOn&nbsp;&nbsp;&nbsp;=&nbsp;True<br>&nbsp;&nbsp;;res@mpGridLatSpacingF&nbsp;=&nbsp;5.0<br>&nbsp;&nbsp;;res@mpGridLonSpacingF&nbsp;=&nbsp;5.0<br>&nbsp;&nbsp;;res@mpGridLineDashPattern&nbsp;=&nbsp;"2"<br><br>&nbsp;&nbsp;res@gsnAddCyclic&nbsp;&nbsp;&nbsp;=&nbsp;False&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;regional&nbsp;data<br>&nbsp;&nbsp;;res@trGridType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"TriangularMesh"<br>&nbsp;&nbsp;res@tmXBLabelFontHeightF&nbsp;=&nbsp;0.01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;Make&nbsp;lon&nbsp;&amp;&nbsp;lat&nbsp;text&nbsp;smaller<br>&nbsp;&nbsp;res@tmYLLabelFontHeightF&nbsp;=&nbsp;res@tmXBLabelFontHeightF<br><br>&nbsp;&nbsp;res@gsnLeftString&nbsp;&nbsp;=&nbsp;""<br>&nbsp;&nbsp;res@gsnRightString&nbsp;=&nbsp;""<br><br>&nbsp;&nbsp;res1&nbsp;&nbsp;=&nbsp;&nbsp;True<br>&nbsp;&nbsp;res1&nbsp;&nbsp;=&nbsp;&nbsp;res<br>&nbsp;&nbsp;res1@mpMinLatF&nbsp;&nbsp;&nbsp;=&nbsp;minlat<br>&nbsp;&nbsp;res1@mpMaxLatF&nbsp;&nbsp;&nbsp;=&nbsp;maxlat<br>&nbsp;&nbsp;res1@mpMinLonF&nbsp;&nbsp;&nbsp;=&nbsp;minlon<br>&nbsp;&nbsp;res1@mpMaxLonF&nbsp;&nbsp;&nbsp;=&nbsp;maxlon<br><br>&nbsp;&nbsp;res1@tmXBMode&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"Explicit"<br>&nbsp;&nbsp;res1@tmXBValues&nbsp;&nbsp;&nbsp;=&nbsp;(/113.0,114.0,115.0,116.0,117.0,118.0,119.0,120.0/)<br>&nbsp;&nbsp;res1@tmXBLabels&nbsp;&nbsp;=&nbsp;&nbsp;(/"113.0~S~o~N~E","114.0~S~o~N~E","115.0~S~o~N~E","116.0~S~o~N~E","117.0~S~o~N~E",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"118.0~S~o~N~E","119.0~S~o~N~E","120.~S~o~N~E"/)<br><br><br>&nbsp;&nbsp;res1@tmYLMode&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"Explicit"<br>&nbsp;&nbsp;res1@tmYLValues&nbsp;&nbsp;&nbsp;=&nbsp;(/36.0,37.0,38.0,39.0,40.0,41.0,42.0,43.0/)<br>&nbsp;&nbsp;res1@tmYLLabels&nbsp;&nbsp;=&nbsp;(/"36.0~S~o~N~N","37.0~S~o~N~N","38.0~S~o~N~N","39.0~S~o~N~N","40.0~S~o~N~N",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"41.0~S~o~N~N","42.0~S~o~N~N","43.0~S~o~N~N"/)<br><br>&nbsp;&nbsp;res1@tiMainString&nbsp;&nbsp;&nbsp;=&nbsp;"confused&nbsp;LC"<br>&nbsp;&nbsp;res1@lbLabelBarOn&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;False<br>&nbsp;&nbsp;plot(0)&nbsp;=&nbsp;gsn_csm_contour_map_ce(wks,&nbsp;omask,&nbsp;res1)&nbsp;;&nbsp;create&nbsp;plot<br><br>&nbsp;&nbsp;res2&nbsp;=&nbsp;True<br>&nbsp;&nbsp;res2=res<br>&nbsp;&nbsp;res2@mpMinLatF&nbsp;&nbsp;&nbsp;=&nbsp;minlat<br>&nbsp;&nbsp;res2@mpMaxLatF&nbsp;&nbsp;&nbsp;=&nbsp;maxlat<br>&nbsp;&nbsp;res2@mpMinLonF&nbsp;&nbsp;&nbsp;=&nbsp;minlon<br>&nbsp;&nbsp;res2@mpMaxLonF&nbsp;&nbsp;&nbsp;=&nbsp;maxlon<br><br>&nbsp;&nbsp;res2@tmXBMode&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"Explicit"<br>&nbsp;&nbsp;res2@tmXBValues&nbsp;&nbsp;&nbsp;=&nbsp;(/113.0,114.0,115.0,116.0,117.0,118.0,119.0,120.0/)<br>&nbsp;&nbsp;res2@tmXBLabels&nbsp;&nbsp;=&nbsp;&nbsp;(/"113.0~S~o~N~E","114.0~S~o~N~E","115.0~S~o~N~E","116.0~S~o~N~E","117.0~S~o~N~E",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"118.0~S~o~N~E","119.0~S~o~N~E","120.~S~o~N~E"/)<br><br>&nbsp;&nbsp;res2@tmYLMode&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"Explicit"<br>&nbsp;&nbsp;res2@tmYLValues&nbsp;&nbsp;&nbsp;=&nbsp;(/36.0,37.0,38.0,39.0,40.0,41.0,42.0,43.0/)<br>&nbsp;&nbsp;res2@tmYLLabels&nbsp;&nbsp;=&nbsp;(/"36.0~S~o~N~N","37.0~S~o~N~N","38.0~S~o~N~N","39.0~S~o~N~N","40.0~S~o~N~N",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"41.0~S~o~N~N","42.0~S~o~N~N","43.0~S~o~N~N"/)<br><br>&nbsp;&nbsp;res2@lbLabelBarOn&nbsp;&nbsp;&nbsp;=&nbsp;&nbsp;False<br>&nbsp;&nbsp;res2@tiMainString&nbsp;=&nbsp;&nbsp;"reclassified&nbsp;LC"<br>&nbsp;&nbsp;plot(1)&nbsp;=&nbsp;&nbsp;gsn_csm_contour_map_ce(wks,nmask,res2)<br><br>&nbsp;&nbsp;pres&nbsp;=&nbsp;True<br>&nbsp;&nbsp;pres@gsnFrame&nbsp;=&nbsp;&nbsp;False<br>&nbsp;&nbsp;pres@gsnPanelLabelBar&nbsp;&nbsp;=&nbsp;True<br>&nbsp;&nbsp;pres@lbLabelFontHeightF&nbsp;=&nbsp;0.01<br>&nbsp;&nbsp;;pres@gsnPanelBottom&nbsp;=&nbsp;0.015<br>&nbsp;&nbsp;pres@lbLabelPosition&nbsp;&nbsp;=&nbsp;"Center"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;label&nbsp;position<br>&nbsp;&nbsp;pres@lbLabelAlignment&nbsp;=&nbsp;"BoxCenters"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;label&nbsp;orientation<br>&nbsp;&nbsp;pres@lbLabelStrings&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;(/"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16",\<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"17","18","19","31","32","33"/)<br>&nbsp;;pres@lbLabelStrings&nbsp;&nbsp;&nbsp;=&nbsp;ispan(0,ninfo,1)<br>&nbsp;&nbsp;pres@lbLabelStride&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;1<br>&nbsp;&nbsp;pres@lbLabelAutoStride&nbsp;=&nbsp;False<br><br>&nbsp;&nbsp;gsn_panel(wks,plot,(/1,2/),pres)<br><br>&nbsp;&nbsp;rtxt&nbsp;=&nbsp;True<br>&nbsp;&nbsp;rtxt@txJust&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;"TopLeft"<br>&nbsp;&nbsp;rtxt@txFontHeightF&nbsp;=&nbsp;0.0125<br><br>&nbsp;&nbsp;;&nbsp;Add&nbsp;text:&nbsp;rows&nbsp;x&nbsp;columns&nbsp;of&nbsp;text&nbsp;(arbitrary)<br>;&nbsp;Usually&nbsp;must&nbsp;play&nbsp;with&nbsp;xx,&nbsp;yy&nbsp;and&nbsp;txFontHeightF<br><br>&nbsp;&nbsp;nrow&nbsp;=&nbsp;5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;#&nbsp;rows<br>&nbsp;&nbsp;ncol&nbsp;=&nbsp;6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;#&nbsp;columns<br><br>&nbsp;&nbsp;n&nbsp;&nbsp;=&nbsp;-1<br>&nbsp;&nbsp;xx&nbsp;=&nbsp;0.015&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;&nbsp;arbitrary<br>&nbsp;&nbsp;do&nbsp;nc=0,ncol-1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yy&nbsp;=&nbsp;0.20<br>&nbsp;&nbsp;&nbsp;&nbsp;do&nbsp;nr=0,nrow-1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;n&nbsp;=&nbsp;n+1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(n.le.(ninfo-1))&nbsp;then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gsn_text_ndc&nbsp;(wks,info(n),xx,yy,rtxt)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yy&nbsp;=&nbsp;yy&nbsp;-&nbsp;2*rtxt@txFontHeightF<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;if<br>&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;do<br>&nbsp;&nbsp;&nbsp;&nbsp;xx&nbsp;=&nbsp;xx&nbsp;+&nbsp;0.20<br>&nbsp;&nbsp;end&nbsp;do<br><br>&nbsp;;draw(plot)<br>&nbsp;frame(wks)<br><br>end<br></span></div><div>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</div><div><br></div><div>what kind of properties should i add in the script?&nbsp;</div><div>or something is wrong with the shapefile?</div><div><br></div><div><br></div><div>thanks for your advices</div><div><br></div><div><br></div><div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left"><span class="HOEnZb"><font color="#888888">
<div><span><div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt"><div><a href="mailto:dyjbean@163.com" target="_blank">dyjbean@163.com</a></div></div></span></div>
<div></div></font></span></div>
</td>
</tr>
</tbody></table>
</div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>



<div class="netease-attDown">
        <div class="netease-notice"><img src="http://mimg.127.net/xm/all/attpreview/img/ico_notice.gif" alt="提示图标" style="vertical-align:middle"> 邮件带有附件预览链接,若您转发或回复此邮件时不希望对方预览附件,建议您手动删除链接。</div>
        <div class="netease-attDown-tit">共有 <strong>2</strong> 个附件</div>
        
                <dl>
                        <dt title="bg.jpg">bg.jpg<span class="info">(20K)</span></dt>
                        <dd>
                                <a href="http://preview.mail.163.com/xdownload?filename=bg.jpg&amp;mid=xtbBRRuf61O-x8K%2BhQAAs4&amp;part=3&amp;sign=17c102d1bd642b26034ad67bae83f5fb&amp;time=1445875107&amp;uid=dyjbean%40163.com" target="_blank">极速下载</a>
                                <a href="http://preview.mail.163.com/preview?mid=xtbBRRuf61O-x8K%2BhQAAs4&amp;part=3&amp;sign=17c102d1bd642b26034ad67bae83f5fb&amp;time=1445875107&amp;uid=dyjbean%40163.com" target="_blank">在线预览</a>
                        </dd>
                </dl>
        
                <dl>
                        <dt title="InsertPic_.png">InsertPic_.png<span class="info">(242K)</span></dt>
                        <dd>
                                <a href="http://preview.mail.163.com/xdownload?filename=InsertPic_.png&amp;mid=xtbBRRuf61O-x8K%2BhQAAs4&amp;part=4&amp;sign=17c102d1bd642b26034ad67bae83f5fb&amp;time=1445875107&amp;uid=dyjbean%40163.com" target="_blank">极速下载</a>
                                <a href="http://preview.mail.163.com/preview?mid=xtbBRRuf61O-x8K%2BhQAAs4&amp;part=4&amp;sign=17c102d1bd642b26034ad67bae83f5fb&amp;time=1445875107&amp;uid=dyjbean%40163.com" target="_blank">在线预览</a>
                        </dd>
                </dl>
        
</div>
</div>

</div></div></div></blockquote></body></html>