[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Automatically increasing graph hight to accommodate long notes?

From   Maarten buis <>
Subject   Re: st: Automatically increasing graph hight to accommodate long notes?
Date   Wed, 19 Mar 2008 09:40:59 +0000 (GMT)

--- "Raymond P. Guiteras" <> wrote:
> I often append very long notes to Stata graphs and would like to 
> increase the graph height to accommodate these notes. This is fairly 
> straightforward on a case-by-case basis using --ysize()--. However, I
> would like to be slightly more efficient by somehow automating this 
> process, so that it is not necessary to fiddle with the argument of
> the --ysize()-- command should the length of the note change.
> Does anyone have suggestions for how to proceed?
> It may be useful to mention that I can store the number of lines the 
> note takes up in a local macro (e.g. `b' in the sample code below).

Vince Wiggins gave a talk titled "Scheming your way to consistent
graphs" at the UK Stata Users' Group Meeting in 2006 that might be
useful. You can download the talk at:

Hope this helps,

Ps. Stata Users' Group Meetings are a great way of picking up tips and
tricks, and a way to meet some of the persons you only know as an email
adress on statalist. The next meeting is on Saturday March 29 in
Warsaw. Other upcomming meetings are announced here: (and ofcourse on the statalist).

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

Rise to the challenge for Sport Relief with Yahoo! For Good
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index