<div dir="ltr"><div><div><div>Hi Yun,<br></div>Try commenting out this line:<br>res@pmTickMarkDisplayMode= &quot;Always&quot;    <br><br></div>See the examples here:<br><a href="http://www.ncl.ucar.edu/Applications/mptick.shtml">http://www.ncl.ucar.edu/Applications/mptick.shtml</a><br><br></div><div>If memory serves I do not think you can use the tmXB/tmYL resources when you set pmTickMarkDisplayMode = &quot;Always&quot;. (If I am wrong on that someone can chime in.) If you like the degree symbol that comes with the labels generated by that resource but want to customize things a bit to your own tastes, see example #7 on the page I direct you to above.<br><br></div><div>If that does not solve your issue, or if you have any further questions please respond to the ncl-talk email list only. <br>Adam<br></div><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 3:35 PM, Yun Yue <span dir="ltr">&lt;<a href="mailto:yunyue@huskers.unl.edu" target="_blank">yunyue@huskers.unl.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div 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                 = &quot;CylindricalEquidistant&quot;</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                 = &quot;latlon&quot;<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  = &quot;National&quot; ;trun on country boundaries<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px">
   res@mpDataSetName              = &quot;Earth..4&quot;   ;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= &quot;Always&quot;     ;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="148aebd84b960501_null" title="fig1.000002.png" src="cid:7fb60125-38b0-46ac-b4b8-2bfd3f29f3dc" width="570.4" height="570.4"><br>
</p>
</div>

<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Division, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div>
</div>