<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Here is what I would do: </div><div><br></div><div>1. set parea to the full page: 'set parea 0 11 0 8.5'</div><div><br></div><div>2. Constrain the domain so that the desired area is shown. This can be done by limiting the lat/lon dimension environment, by using 'set mpvals', or both. GrADS will fill the plot area as best it can while still maintaining the proper aspect ratio -- don't worry about whether the plot stretches to the very edges of the page, just get the display inside the frame to be the way you want it. </div><div><br></div><div>3. call 'q gxinfo' and parse the output to get the size of the frame. E.g. </div><div><br></div><div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">ga-> q gxinfo </span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Last Graphic = Contour</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Page Size = 11 by 8.5</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">X Limits = 0.5 to 10.5</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Y Limits = 1.25 to 7.25</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Xaxis = Lon Yaxis = Lat</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Mproj = 2</span></font></div></div><div><br></div><div>Note the The display is 10 inches in X (10.5 minus 0.5) and 6 inches in Y (7.25-1.25). This means your plot has an aspect ratio of 1.6667. </div><div><br></div><div>4. Quit grads, then restart with "grads -a 1.6667" instead of using -l or -p. </div><div><br></div><div>5. check the 'q gxinfo' output again: </div><div><br></div><div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">ga-> q gxinfo </span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Last Graphic = Contour</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Page Size = 11 by 6.59987</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">X Limits = 1.25011 to 9.74989</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Y Limits = 0.75 to 5.84987</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Xaxis = Lon Yaxis = Lat</span></font></div><div><font class="Apple-style-span" face="Courier"><span class="Apple-style-span" style="font-size: 13px;">Mproj = 2</span></font></div></div><div><br></div><div>6. Note the different page size. Use these numbers to change your parea command:</div><div>'q gxinfo'</div><div>psz=sublin(result,2)</div><div>xsz=subwrd(psz,4)</div><div>ysz=subwrd(psz,6)</div><div>'set parea 0 'xsz' 0 'ysz-0.0001</div><div>Rounding issues force me to reduce the y size by a tiny bit in order to avoid the message: 'parea values beyond page limits.' </div><div><br></div><div>7. Now redo your display and you'll see that your plot fills the entire window. Here is a sample:</div><div><br></div><div><img height="413" width="632" apple-width="yes" apple-height="yes" id="0a370011-ff36-410c-8047-d3e176a8417c" src="cid:8648D837-6C7E-4D6D-8EFF-3AD933829F55@SME"></div><div><br></div><div><br></div><div>--Jennifer</div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On Feb 27, 2014, at 3:16 PM, L.B. wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I will take a look at the mpvals. I know you can zoom in by reducing the lat/lon pairs - guess I should have said I want that full domain plotted :P</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">
<b>William (L.B.) LaForce</b><div>Meteorologist</div><div>Central Michigan University '13<br></div><div><a href="http://www.tornadoinsanity.com/" target="_blank">www.tornadoinsanity.com</a></div></div></div>
<br><br><div class="gmail_quote">On Thu, Feb 27, 2014 at 3:00 PM, Stephen McMillan <span dir="ltr"><<a href="mailto:smcmillan@planalytics.com" target="_blank">smcmillan@planalytics.com</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">William,<div>You can "zoom in" by reducing the lat and lon ranges before you display the variable. Also, try using 'set mpvals...' (see <a href="http://grads.iges.org/grads/gadoc/gradcomdsetmpvals.html" target="_blank">http://grads.iges.org/grads/gadoc/gradcomdsetmpvals.html</a>) to specify which areas you wanted included in the plot.</div>
<div>Stephen Mc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Feb 27, 2014 at 2:42 PM, L.B. <span dir="ltr"><<a href="mailto:bcbass2989@gmail.com" target="_blank">bcbass2989@gmail.com</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">Hello all,<div><br></div><div>I have been having an issue of trying to fill the entire plot area. Usually the extra white space is used for text and such, but in my case I want to fill the entire plot area (or most of it) and get rid of as much white space as possible. I have played around with various values for vpage and parea as well as the image size output (so it is NOT distorted), and it just seems to re-scale the image, and not let me fill the entire area. Ideally it would be nice to set your parea>vpage, but that's not possible. I have posted an example image below. I made the background black to show you all the excess space. Now obviously the image is not rectangular, and I have cropped the left and the right side, but how can I get rid of that excess on the top and bottom without using an external utility to crop it after the fact?</div>
<div><br></div><div>Thanks.</div><div><br clear="all"><div><div dir="ltr"><b>William (L.B.) LaForce</b><div>Meteorologist</div><div>Central Michigan University '13<br></div><div><a href="http://www.tornadoinsanity.com/" target="_blank">www.tornadoinsanity.com</a></div>
</div></div>
</div></div>
<br></div></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
<pre>***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
</pre><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline">
</div>
<br></body></html>