<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-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"
cite="mid:CACvWuqD7pAcxP7pXU+z=N9GSs7nGKGYFmoc91AsCSr64YmdZOQ@mail.gmail.com">
<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"
moz-do-not-send="true">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_-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" moz-do-not-send="true">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_-3818809576950012851m_-3405825847758788068moz-txt-link-freetext"
href="http://www.ncl.ucar.edu/"
target="_blank" moz-do-not-send="true">http://www.ncl.ucar.edu/</a>
for more details.<br>
3416 olympus%<br>
<br>
<img
src="cid:part5.274BFEDA.42C41068@u.washington.edu"
alt="" class=""><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="" class=""><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"
moz-do-not-send="true">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"
moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">www.cgd.ucar.edu/staff/asphilli/</a>
</font></span><span><font color="#888888">303-497-1726
</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>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>