Re: filling the page with panel plots

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Dec 02 2010 - 15:17:22 MST

Rob,

Please see the attached panel.ncl file which does something very close to what you're trying to accomplish. I made the PDF file a low-res one so it was smaller. It looks rather fuzzy because of this.

--Mary

On Dec 2, 2010, at 2:55 PM, ncl-talk-owner@ucar.edu wrote:
>
> From: Rob Nicholas <rnicholas@atmos.washington.edu>
> Date: December 2, 2010 2:55:39 PM MST
> To: NCL USERS <ncl-talk@ucar.edu>, Mary Haley <haley@ucar.edu>
> Subject: Re: filling the page with panel plots
>
>
> Attached is an example of what I was trying to describe. For regions
> that are "less square" (e.g. a 2:1 lon:lat ratio), the problem seems
> to work itself out -- the panel flips into landscape mode and more or
> less fills the page. I could fiddle with the
> "@gsnPanelXWhiteSpacePercent" resource, but what I really want is
> larger individual plots, not more white space between them.
>
> And just to be clear, I haven't been fiddling with the viewport
> resources, so that shouldn't be the source of the problem. I can
> provide code if it comes to that, of course.
>
> Any idea what might be going on here?
>
> ~Rob
>
>
>
> On Thu, Dec 2, 2010 at 12:50 PM, Mary Haley <haley@ucar.edu> wrote:
>> Rob,
>> It would help if you could send a sample PS/PDF file.
>> Setting res@gsnMaximize=True during the gsn_panel call is the proper thing
>> to do.
>> (It doesn't help doing this for the individual plots, because they will get
>> resized anyway
>> in gsn_panel.)
>> You can also try making the space between the plots smaller by setting
>> res@gsnPanelYWhiteSpacePercent and/or res@gsnPanelXWhiteSpacePercent
>> to something less than 1.0 (but greater than 0.0).
>> If this doesn't help, can you send an image?
>> Thanks,
>> --Mary
>> On Dec 2, 2010, at 11:58 AM, Rob Nicholas wrote:
>>
>> Hi all,
>> I'm creating a panel plot of 12 identically-sized maps (4 rows of 3) that
>> I'd like to have fill *most* of the page. I've tried setting "@gsnMaximize
>> = True" for both the individual plot resources and the panel resources, but
>> I'm still ending up with a significant amount of white space (1.5-inch+
>> margins) around the edge.
>> Can anyone suggest a way to get the panel to occupy more of the page?
>> Thanks,
>> Rob
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
>
> --
> Robert Nicholas
> Department of Atmospheric Sciences
> University of Washington, Box 351640
> Seattle, WA 98195-1640
> rnicholas@atmos.washington.edu
> tel 206-438-3509, fax 206-543-0308
> <junk.pdf>
>
>
>
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Dec 2 15:17:30 2010

This archive was generated by hypermail 2.1.8 : Mon Dec 06 2010 - 09:18:09 MST