<div dir="ltr">Hi Adam - thanks! That did the trick! Although the "FreeAspect" line was rejected. Byt the vpXF etc worked!<div><br></div><div>Alison</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 23, 2018 at 2:10 PM, Adam Phillips <span dir="ltr"><<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</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">Hi Alison,<div>In short, lots of different aspects of a plot can have an effect on the size of a plot. The tickmarks, the tickmark labels, the labelbar, the length of the titles/subtitles and their font sizes, the aspect ratio of the plot, whether you are setting gsnMaximize or not, etc. When it comes to plots over a map, NCL will not alter the aspect ratio of a plot, unless you tell it to:</div><div>mpres@mpShapeMode = "FreeAspect"<br></div><div><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpShapeMode" target="_blank">https://www.ncl.ucar.edu/Docum<wbr>ent/Graphics/Resources/mp.<wbr>shtml#mpShapeMode</a><br></div><div><br></div><div>If you set that resource to FreeAspect, you will have some finer control over the size of your plot by setting the various vp resources:</div><div>mpres@vpXF = 0.2 ; starting point of plot on x-axis in NDC units</div><div>mpres@vpWidthF = 0.6 ; width of plot in NDC units</div><div>mpres@vpHeightF = 0.6 ; height of plot in NDC units</div><div>mpres@vpYF = 0.8 ; starting point of plot on y-axis in NDC units.</div><div><br></div><div>See the various examples listed here that use the mpShapeMode resource:</div><div><a href="https://www.ncl.ucar.edu/Applications/res_list.shtml#mpShapeMode" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/res_list.shtml#<wbr>mpShapeMode</a><br></div><div><br></div><div>I don't know if that is as complete an answer you were looking for or not. If not, let ncl-talk know.</div><div>Adam</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Feb 23, 2018 at 12:45 PM, Alison Bridger <span dir="ltr"><<a href="mailto:alison.bridger@sjsu.edu" target="_blank">alison.bridger@sjsu.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all, This is a general question...<div><br></div><div>My output format of choice is postscript (ps). I am doing a study and have written a handful of codes, and each one produces a plot of a different size and shape! I am looking for some general guidelines on how to fix size and shape - something along the lines of xmin/xmax/ymin/ymax - all relative to an 11x8.5 sheet of paper in either landscape or portrait mode.</div><div><br></div><div>I had a quick look and saw something scary about - "it depends on your output mode and which ncl plotting routine you use"!!! Does not sound general!</div><div><br></div><div>FTR, I am reading a WRF output file, extracting and plotting via commands like </div><div><div>wrf_contour, wrf_map_overlays, wrf_overlays</div><div><br></div><div>I've attached a play code as an example: the result comes out in a rectangle! I was expecting a square...I'm plotting an array ("grad") which is 71x41 ... that's probably why?</div><div><br></div><div>Thanks for pointing me in the right general direction!</div><div><br></div><div>Alison</div><div><br class="m_-4213038874075761260m_6762213430172182375gmail-Apple-interchange-newline">
</div>-- <br><div class="m_-4213038874075761260m_6762213430172182375gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre><font face="comic sans ms, sans-serif"> Alison F.C. Bridger<br> Professor & Chair<br><br> Department of Meteorology and Climate Science<br><br> San Jose State University tel <a href="tel:(408)%20924-5206" value="+14089245206" target="_blank">408.924.5206</a><br> One Washington Square fax <a href="tel:(408)%20924-5191" value="+14089245191" target="_blank">408.924.5191</a><br> San Jose, CA 95192-0104<br><br> email: <a>Alison.Bridger@sjsu.edu</a></font></pre><pre><font face="comic sans ms, sans-serif"> <b>Global CO2 levels...400 ppm and still rising...happy?</b></font></pre><pre><font face="comic sans ms, sans-serif"><br> <a href="http://www.met.sjsu.edu" target="_blank">www.sjsu.edu/meteorology</a><br> </font><br></pre></div></div></div></div>
</div></div>
<br></div></div>______________________________<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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-4213038874075761260gmail_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><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>
</font></span></div>
</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"><pre><font face="comic sans ms, sans-serif"> Alison F.C. Bridger<br> Professor & Chair<br><br> Department of Meteorology and Climate Science<br><br> San Jose State University tel 408.924.5206<br> One Washington Square fax 408.924.5191<br> San Jose, CA 95192-0104<br><br> email: <a>Alison.Bridger@sjsu.edu</a></font></pre><pre><font face="comic sans ms, sans-serif"> <b>Global CO2 levels...400 ppm and still rising...happy?</b></font></pre><pre><font face="comic sans ms, sans-serif"><br> <a href="http://www.met.sjsu.edu" target="_blank">www.sjsu.edu/meteorology</a><br> </font><br></pre></div></div></div></div>
</div>