Re: Adjusting plots in panels after labels are removed

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 16 Apr 2009 09:34:46 -0600 (MDT)

Hi Mark,

Turning off the labels for two of the four plots makes these
two plots smaller than the others, and hence the paneling
doesn't work.

One thing you can do is to go ahead and let the labels
be drawn, but draw them in white so you can't see them. This
way, the plots are all the same size.

Then, you can use gsnPanelYF to reposition the 2nd and 4th plots
so they are closer. to the 1st and three plots.

Please see the attached test.ncl

--Mary

On Thu, 16 Apr 2009 Mark.Collier_at_csiro.au wrote:

> Hi,
> I've attached a script and data for a plot, I'm trying to get each plot to have same size
> once axis labels are removed. When I try to add the x-axis labels for the bottom 2
> plots NCL seems to hang.
>
> with
> res_at_tmXBLabelsOn = True
>
> before
>
> plots(2)=gsn_csm_contour_map(wks,eot3,res)
>
> however, I still need to resize the right 2 panels however
> pnlres_at_gsnPanelXF
> pnlres_at_gsnPanelYF
>
> only change the corner position, not the relative size. Is there a resource so that I can rescale the right 2 panels? Most of them seem to influence the amount of whitespace, but I want to keep whitespace to a minimum.
>
> One other thing, I'm wondering if "states" can be switched on or off individually? For example, remove everyone except for the Queensland border.
>
> uname -a
> Linux cherax 2.6.16.54-0.2.12-default #1 SMP Fri Oct 24 02:16:38 UTC 2008 ia64 ia64 ia64 GNU/Linux
> gcc -v
> Using built-in specs.
> Target: ia64-suse-linux
> Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix= --enable-version-specific-runtime-libs --with-system-libunwind --host=ia64-suse-linux
> Thread model: posix
> gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)
>
> Many thanks,
> Mark.
>
> CSIRO Marine and Atmospheric Research
> Australia.
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Thu Apr 16 2009 - 09:34:46 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 16 2009 - 10:05:49 MDT