<div dir="ltr">Hi Marc,<div>Mary created a function a while ago that can accomplish this that is buried in map tickmarks example #9 here:</div><div><a href="http://www.ncl.ucar.edu/Applications/mptick.shtml#ex9">http://www.ncl.ucar.edu/Applications/mptick.shtml#ex9</a> </div><div><br></div><div>I modified your snippet of code to include the gsn_add_tickmarks function, and the resulting script and output is attached.</div><div>Let ncl-talk know if you have any further queries..</div><div>Adam</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 13, 2018 at 10:18 AM, Marc Michelsen <span dir="ltr"><<a href="mailto:marc@u.washington.edu" target="_blank">marc@u.washington.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="m_2359477875536425209moz-cite-prefix">Hi Adam,<br>
      <br>
      That worked but strangely it also got rid of the latitude
      tickmarks and labels. Looks like this now:<br>
      <br>
      <img src="cid:part1.0BFBF64F.7E08A161@u.washington.edu" alt=""><br>
      <br>
      ncl script is below. Anyway to get them back?<br>
      Thanks,<br>
      Marc<br>
      <br>
      243 olympus% cat maponly.ncl<br>
      begin<br>
      <br>
        wks  = gsn_open_wks("eps","maponly")<br>
        res                        = True<br>
        res@mpOceanFillColor       = "cyan"<br>
        res@mpLandFillColor        = "sienna"<br>
        res@mpInlandWaterFillColor = "cyan"<br>
      ;  res@mpProjection = "CylindricalEquidistant"<br>
        res@mpProjection = "CylindricalEqualArea"<br>
        res@mpLimitMode = "LatLon"<br>
        res@mpMinLatF = -45.<br>
        res@mpMaxLatF = 45.<br>
        res@pmTickMarkDisplayMode = "Always"<br>
        plot = gsn_csm_map(wks,res)<br>
        delete(wks)<br>
        system("convert -trim -density 133 maponly.eps maponly.png")<br>
      <br>
       end<br>
      244 olympus% <br>
      <br>
      <br>
      <br>
      On 3/13/2018 8:54 AM, Adam Phillips wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Marc,
        <div>Try also setting:</div>
        <div>res@mpLimitMode = "LatLon"</div>
        <div>I think that setting is implied when using the cylindrical
          equidistant project, but is needed to use the mp*LatF
          resources for other projections..</div>
        <div>Adam</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Mar 13, 2018 at 9:26 AM, Marc
          Michelsen <span dir="ltr"><<a href="mailto:marc@u.washington.edu" target="_blank">marc@u.washington.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="m_2359477875536425209m_-3818809576950012851moz-cite-prefix">Hi
                Mary,<br>
                <br>
                Thank you, that fixed the tickmarks and labels, but what
                about the min and max latitude?<br>
                It's still rendered from -90 to 90 despite setting <br>
                res@mpMinLatF = -45.<br>
                res@mpMaxLatF = 45.<br>
                <br>
                Thanks,<br>
                Marc<br>
                <br>
                On 3/13/2018 7:15 AM, Mary Haley wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div class="gmail_default" style="font-size:small">Hi
                    Marc,</div>
                  <div class="gmail_default" style="font-size:small"><br>
                  </div>
                  <div class="gmail_default" style="font-size:small">The
                    simple solution is to set:</div>
                  <div class="gmail_default" style="font-size:small"><br>
                  </div>
                    res@pmTickMarkDisplayMode = "Always"
                  <div><br>
                  </div>
                  <div>
                    <div class="gmail_default" style="font-size:small">​The
                      longish explanation is that it used to be that you
                      couldn't get map tickmark labels at all, so for
                      C.E. plots, we created some special code to
                      explicitly add labels. This is what you see in the
                      original plot.  We didn't do this for other map
                      projections because we knew that eventually the
                      internal code would be enhanced to get labels for
                      other map projections. This internal code only
                      gets activated by the "​<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">pmTickMarkDisplayMode"
                        resource, which is a Plot Manager resource that
                        if you give it a value of "Always", it will
                        force the map tickmarks to be added. We haven't
                        made this the default yet because the internal
                        code is not really complete. I think at some
                        point we may just turn this on and make it the
                        default.</span></div>
                    <div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
                      </span></div>
                    <div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">--Mary</span></div>
                    <div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
                      </span></div>
                    <div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
                      </span></div>
                    <div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
                      </span></div>
                    <div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
                      </span></div>
                    <div class="gmail_default" style="font-size:small"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br>
                      </span></div>
                    <br>
                  </div>
                </div>
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Sat, Mar 10, 2018 at 8:45
                    AM, Marc Michelsen <span dir="ltr"><<a href="mailto:marc@u.washington.edu" target="_blank">marc@u.washington.edu</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF"> Hi NCLers,<br>
                        <br>
                        When I use the CylindricalEquidistant map
                        projection it looks great:<br>
                        <br>
                        3414 olympus% cat maponly.ncl<br>
                        begin<br>
                          wks  = gsn_open_wks("png","maponly")<br>
                          res                        = True<br>
                          res@mpOceanFillColor       = "cyan"<br>
                          res@mpLandFillColor        = "sienna"<br>
                          res@mpInlandWaterFillColor = "cyan"<br>
                          res@mpProjection = "CylindricalEquidistant"<br>
                        ;  res@mpProjection = "CylindricalEqualArea"<br>
                          res@mpMinLatF = -45.<br>
                          res@mpMaxLatF = 45.<br>
                          plot = gsn_csm_map(wks,res)<br>
                          delete(wks)<br>
                          system("convert -trim maponly.png
                        maponly.png")<br>
                          end<br>
                        3415 olympus% ncl < maponly.ncl<br>
                         Copyright (C) 1995-2017 - All Rights Reserved<br>
                         University Corporation for Atmospheric Research<br>
                         NCAR Command Language Version 6.4.0<br>
                         The use of this software is governed by a
                        License Agreement.<br>
                         See <a class="m_2359477875536425209m_-3818809576950012851m_-3405825847758788068moz-txt-link-freetext" href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a>
                        for more details.<br>
                        3416 olympus%<br>
                        <br>
                        <img src="cid:part5.274BFEDA.42C41068@u.washington.edu" alt=""><br>
                        <br>
                        However if I switch to <br>
                        res@mpProjection = "CylindricalEqualArea"<br>
                        I get this:<br>
                        <br>
                        <img src="cid:part6.C4A54F1B.5AB7E878@u.washington.edu" alt=""><br>
                        <br>
                        i.e. no tickmarks, no lat/lon labels and the min
                        max latitude are not respected. Is this a bug or
                        am I missing something?<br>
                        <br>
                        Thanks,<br>
                        <br>
                        Marc<br>
                        <br>
                        <p><br>
                        </p>
                      </div>
                      <br>
                      ______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </blockquote>
              <p><br>
              </p>
            </div>
            <br>
            ______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all"><span class="HOEnZb"><font color="#888888">
        <div><br>
        </div>
        -- <br>
        <div class="m_2359477875536425209gmail_signature" data-smartmail="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/<wbr>asphilli/</a>  
                            </font></span><span><font color="#888888"><a href="tel:(303)%20497-1726" value="+13034971726" target="_blank">303-497-1726</a>
                            </font></span></div>
                        <span></span>
                        <div>
                          <div><span><font color="#888888"><br>
                              </font></span>
                            <div><span></span></div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </font></span></div>
    </blockquote>
    <p><br>
    </p>
  </div>

<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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>
</div>