Statalist


[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 <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Automatically increasing graph hight to accommodate long notes?
Date   Wed, 19 Mar 2008 09:40:59 +0000 (GMT)

--- "Raymond P. Guiteras" <rpguiteras@gmail.com> 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:
http://www.stata.com/meeting/12uk/abstracts.html

Hope this helps,
Maarten

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:
http://www.stata.com/meeting/ (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

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________ 
Rise to the challenge for Sport Relief with Yahoo! For Good  

http://uk.promotions.yahoo.com/forgood/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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