Re: Panel Labelbar

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 3 Jul 2007 15:05:18 -0600 (MDT)

Prince,

Just FYI: the reason gsn_panel is not working as expected is
because your plots are not the same size. This is a requirement
in order for gsn_panel to work as expected Your bottom plots
are bigger than the other ones, and gsn_panel bases its resizing
factor on the size of the first non-empty plot. So, gsn_panel
was not expecting those bottom two plots to have extra text
on the X axis, and hence it put the labelbar on top of the text.

I'm not sure Dennis' solution below will work, because the labelbar is
placed relative to the plots, and may still appear on top of your X
axis text.

You can try setting resP_at_pmLabelBarOrthogonalPosF to a small value,
like 0.02 or 0.03 to move the labelbar down a little. (Or use a negative
value if I'm remembering wrong about which direction it moves.)

--Mary

On Tue, 3 Jul 2007, Dennis Shea wrote:

> Hello Prince
>
> Try: resP_at_gsnPanelBottom = 0.05 ; force extra white space at bottom
> ; for label bar
>
> Regards
> D
>
>
> Prince K. XAVIER wrote:
>> Hi all,
>>
>> The placing of panel label bar seems to work perfect for 5-6 panels. I am
>> facing trouble with the panel label bar especially when I create a large
>> number of panels (see attachment). The label bar is automatically placed
>> over the axis labels. I can not figure out why should the labelbar
>> placement depend on the number of panels.
>> Is there a resource with which I can displace the panel labelbar? (I tried
>> changing the labelbar margin, but it does not look like a good solution :)
>> )
>>
>> thanks for any help
>> Prince
>>
>> My panelling resources are below:
>> resP = True
>> resP_at_gsnPanelLabelBar = True ; add common colorbar
>> resP_at_lbLabelStride = 2
>> resP_at_lbLabelFontHeightF = 0.011
>> resP_at_gsnPanelFigureStringsFontHeightF = 0.01
>> resP_at_gsnPanelFigureStrings=
>> (/"MAY","JUN","JAS","MAY","JUN","JAS","MAY","JUN","JAS","MAY","JUN","JAS","MAY","JUN","JAS","MAY","JUN","JAS"/)
>> resP_at_gsnPanelFigureStringsFontHeightF = 0.01
>> gsn_panel(wks,plot,(/6,3/),resP)
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk_at_ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
> --
> ======================================================
> Dennis J. Shea tel: 303-497-1361 |
> P.O. Box 3000 fax: 303-497-1333 |
> Climate Analysis Section |
> Climate & Global Dynamics Div. |
> National Center for Atmospheric Research |
> Boulder, CO 80307 |
> USA email: shea 'at' ucar.edu |
> ======================================================
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Jul 03 2007 - 15:05:18 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 03 2007 - 15:06:05 MDT