RE: [ncl-talk] Adjusting plots in panels after labels are removed

From: <Mark.Collier_at_nyahnyahspammersnyahnyah>
Date: Fri, 17 Apr 2009 09:43:46 +1000

Hi Mary,
yes that is a novel way of doing it. I forgot about the paneling requirement. Some of
the axis are affected by the white fonts, but I suppose that is minor and would be acceptable
publishable plots.
Thanks again,
From: Mary Haley []
Sent: Friday, 17 April 2009 1:34 AM
To: Collier, Mark (CMAR, Aspendale)
Subject: Re: Adjusting plots in panels after labels are removed

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


On Thu, 16 Apr 2009 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 #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.
Received on Thu Apr 16 2009 - 17:43:46 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 20 2009 - 09:36:23 MDT