<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Denise,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small;display:inline">There's a bug in this script that is causing the labelbar height to be used in the calculation it uses to determine the size of the individual plots.</div><br><br><div class="gmail_default" style="font-size:small">To fix this, you need to subscript the leftmost dimension of bb to be "0:2", so it doesn't also grab the labelbar object:</div><br> bb = NhlGetBB(pplots)<br> height = max(bb(0:2,0)) - min(bb(0:2,1))<div><br></div><div><div class="gmail_default" style="font-size:small">I think the only reason it worked for the Aitoff case is because these plots are not as high as the polar plots, so it wasn't running out of room to place all the plots. In the case of polar plots, which have the same width and height, it ran out of room by the time it got to the third row, and so it squished them to make them fit.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">More than you probably wanted to know, but hopefully this fix works for you. I've updated newcolor_14.ncl on the web to have this fix.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 8, 2018 at 11:12 AM, Denise Worthen - NOAA Affiliate <span dir="ltr"><<a href="mailto:denise.worthen@noaa.gov" target="_blank">denise.worthen@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">I edited this example script to make a NH polar stereographic projection instead of the Aitoff projection. The only changes I made to to set:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default">
<span></span>
res@gsnPolar = "NH"<br> res@mpMinLatF = 66 ; minimum lat to plot<br> res@mpCenterLonF = -45<font face="verdana, sans-serif"> </font></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">and to use
</font>
gsn_csm_contour_map_polar. <br></div><div class="gmail_default"><span style="color:rgb(34,34,34);font-family:verdana,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"><span style="color:rgb(34,34,34);font-family:verdana,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">I've attached the output.</span> How can I alter the script to make all the plots the same size?</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks,</div><div class="gmail_default">Denise.</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></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></div>