<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Hi ,<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">I wrote a very short code to plot regional map. But when I tried to show the top tickmarks and labels, the upper part of the plot seems be overlaied. I tried to set tmXBLabelsOn
= True, tmXBOn = False, it displays bottom things ok. When I set tmXTLabelsOn = True, tmXTOn = False. Nothing displayed on top.<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Here is the code and plot.<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Anyone knows how to fix that? Thank you.<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">Yun<br>
</p>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">************************************************************************************<br>
</p>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res = True</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
; SET UP MAP PROJECTION AND LIMITED REGION</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpProjection = "CylindricalEquidistant"</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpGridAndLimbOn = True ;TURN ON MAP GRID LINE</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpGridLatSpacingF = 5.0 ;GRID LINE SPACING</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpGridLonSpacingF = 5.0</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpLimitMode = "latlon"<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpMinLatF = minlat</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpMaxLatF = maxlat</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpMinLonF = minlon<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpMaxLonF = maxlon</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
; COLOR OF CONTINIENTAL OUTLINES</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpFillOn = False ;turn off map gray fill</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpOutlineOn = True</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpOutlineBoundarySets = "National" ;trun on country boundaries<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@mpDataSetName = "Earth..4" ;choose most recent boundary</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@tmXBLabelsOn = False ;no bottom labels</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@tmXBOn = False ;no bottom tickmarks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@tmXTLabelsOn = True<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@tmXTOn = True</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
res@pmTickMarkDisplayMode= "Always" ;turn on built in tickmarks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
plotb = gsn_csm_map(wks,res)​<br>
</div>
<p style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"><br>
</p>
</div>
<p><img name="null" title="fig1.000002.png" originalwidth="1024" originalheight="1024" width="570.4" height="570.4" src="cid:7fb60125-38b0-46ac-b4b8-2bfd3f29f3dc"><br>
</p>
</body>
</html>