<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;">
&nbsp; &nbsp;res &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
; &nbsp;SET UP MAP PROJECTION AND LIMITED REGION</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpProjection &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = &quot;CylindricalEquidistant&quot;</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpGridAndLimbOn &nbsp; &nbsp; &nbsp; &nbsp;= True &nbsp; &nbsp; &nbsp; ;TURN ON MAP GRID LINE</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpGridLatSpacingF &nbsp; &nbsp; &nbsp; &nbsp;= 5.0 &nbsp; &nbsp; &nbsp; &nbsp;;GRID LINE SPACING</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpGridLonSpacingF &nbsp; &nbsp; &nbsp;&nbsp;=&nbsp;5.0</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpLimitMode &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;= &quot;latlon&quot;<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpMinLatF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;= minlat</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpMaxLatF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= maxlat</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpMinLonF &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= minlon<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpMaxLonF&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp;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;">
; &nbsp;COLOR OF&nbsp;CONTINIENTAL&nbsp;OUTLINES</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpFillOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp;&nbsp;False &nbsp;;turn off map gray fill</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpOutlineOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;= True</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpOutlineBoundarySets&nbsp;&nbsp;= &quot;National&quot; ;trun on country boundaries<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@mpDataSetName &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= &quot;Earth..4&quot; &nbsp; ;choose most recent boundary</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@tmXBLabelsOn &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;= False &nbsp; &nbsp; &nbsp; &nbsp;;no bottom labels</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@tmXBOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp;False &nbsp; &nbsp; &nbsp; &nbsp;;no bottom tickmarks</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@tmXTLabelsOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= True<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@tmXTOn &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&nbsp;True</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;">
&nbsp; &nbsp;res@pmTickMarkDisplayMode= &quot;Always&quot; &nbsp; &nbsp; ;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;">
&nbsp; &nbsp;plotb &nbsp;= gsn_csm_map(wks,res)&#8203;<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>