Re: size control in panel plot

From: Carl Schreck <cjschrec_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 07 2013 - 05:58:50 MST

Follow-on question... I almost always set all the fontheights manually
because they change so much when you do paneling. So I usually have
something like this:

  ;; ...standardize the font sizes
  fontHeightF = 0.02
  res@cnInfoLabelFontHeightF = fontHeightF
  res@gsnLeftStringFontHeightF = fontHeightF
  res@gsnRightStringFontHeightF = fontHeightF
  res@lbTitleFontHeightF = fontHeightF
  res@lbLabelFontHeightF = fontHeightF
  res@tiMainFontHeightF = fontHeightF * 1.3
  res@tiYAxisFontHeightF = fontHeightF
  res@tiXAxisFontHeightF = fontHeightF
  res@tmXBLabelFontHeightF = fontHeightF
  res@tmYLLabelFontHeightF = fontHeightF

Is there a simpler way?

    Carl

On Wed, Nov 6, 2013 at 11:36 AM, Kyle Griffin <ksgriffin2@wisc.edu> wrote:

> I would suggest using
>
> res@vpWidthF = 0.3
>
> to narrow the plot on the right. The value can be anything between 0 and
> 1, and apply it to the resource explicitly for the XY panel's resources.
>
> For the font heights, I would suggest manually setting both sets of
> resources. The font height resource needs to be explicitly set for both
> plots in order to be effective. If others have better suggestions here, I
> would go with that as I personally haven't had problems with mis-matched
> text heights before.
>
>
> Kyel
>
> ----------------------------------------
> Kyle S. Griffin
> Department of Atmospheric and Oceanic Sciences
> University of Wisconsin - Madison
> Room 1421
> 1225 W Dayton St, Madison, WI 53706
> Email: ksgriffin2@wisc.edu
>
>
> On Wed, Nov 6, 2013 at 10:06 AM, H.Dang <danghy@gmail.com> wrote:
>
>> Dear NCLers,
>>
>> I have two graphs in a panel plot (please see the attached file). My
>> question is how to make the one on the right side slimmer, and the left one
>> wider. In addition, the mark sizes on the two graphs are different. e.g.,
>> the "45S" on the left one is larger. But these sizes are controlled by the
>> same setting in my code:
>>
>> res@tmXBLabelFontHeightF = 0.019 ;0.008 ;height of tick mark label
>>
>> Thank you!
>>
>> Hongyan
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
 <http://www.cicsnc.org/>
Follow CICS-NC on Facebook <http://www.facebook.com/cicsnc>
*Carl J. Schreck III, PhD*
*Research Associate*
Cooperative Institute for Climate and Satellites NC <http://cicsnc.org/>
North Carolina State University <http://ncsu.edu/>
NOAA's National Climatic Data Center <http://ncdc.noaa.gov/>
151 Patton Ave, Asheville, NC 28801
e: cjschrec@ncsu.edu
o: +1 828 257 3140
CycloneCenter.org: Help analyze tropical cyclones<http://www.cyclonecenter.org/>
monitor.cicsnc.org/mjo: See recent MJO
diagnostics<http://monitor.cicsnc.org/mjo/>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Nov 7 06:03:33 2013

This archive was generated by hypermail 2.1.8 : Mon Nov 11 2013 - 09:45:33 MST