<div dir="ltr"><div dir="ltr">Hi David,<div>There's a function (add_map_tickmarks2) that you can use embedded in some of the NCL examples that will add tick mark labels to rectangular projections. I took mptick example #9 here: <a href="http://www.ncl.ucar.edu/Applications/mptick.shtml#ex9">http://www.ncl.ucar.edu/Applications/mptick.shtml#ex9</a></div><div>and modified it to (mostly) match your projection. The script can be run on its' own and runs quickly, making trial and error less painful. I have attached the modified script and the resulting graphic. </div><div>Hope that helps!</div><div>Adam</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 2, 2019 at 3:08 PM David Hebert, Code 7322 <<a href="mailto:david.hebert@nrlssc.navy.mil">david.hebert@nrlssc.navy.mil</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-4169463851194194246WordSection1"><p class="MsoNormal"><span style="font-family:"Courier New"">I am attempting to make a regional plot using stereographic projection, and limit the projection using ‘corners’. I am getting only longitude labels along the bottom and left plot boundary. See attached plot. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">The relevant settings I am using in my script are:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpProjection = "Stereographic"<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@gsnAddCyclic = False<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpGridAndLimbOn = True ; turn on lat/lon lines<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpPerimOn = False ; turn off box around plot<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@pmTickMarkDisplayMode = "Always" ; turn on ticks<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@tmYROn = False<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@tmXTOn = False<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpGridLonSpacingF = 15.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpGridLatSpacingF = 2.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> ; set map limits based on tlat,tlon<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpLimitMode = "Corners"<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpLeftCornerLatF = tlat(0,0)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpLeftCornerLonF = tlon(0,0)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpRightCornerLatF = tlat(nj2-1,ni2-1)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpRightCornerLonF = tlon(nj2-1,ni2-1)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpRelativeCenterLon = True ; set a center lon<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpCenterLonF = 180.0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpRelativeCenterLat = True ; set a center lat<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""> res@mpCenterLatF = -90.0 ; center lat<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New"">Any suggestions on how to get the latitude labels on the left axis? Thank you for your help!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-family:"Courier New";color:rgb(31,73,125)">David A. Hebert<u></u><u></u></span></b></p><p class="MsoNormal"><span style="font-family:"Courier New";color:black">Oceanography Division, </span><span style="font-family:"Courier New";color:black">Code 7322 <br>Naval Research Laboratory <br>Stennis Space Center, MS 39529<br>(228)688-5846; DSN 828-5846 <br></span><span style="font-family:"Courier New""><a href="http://www.nrl.navy.mil/" target="_blank"><span style="color:blue">http://www.nrl.navy.mil</span></a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><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 Laboratory, 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></div></div></div></div></div></div>