Hi,
I plot scatter plots with a loop and I use the variable label as caption. So far, so good. Sometimes the label is too long and I have to wrap lines. But I don't know how do to it. Can anybody give me a hint, please?
Best regards,
Chris
`i'=1
while `i' <= count {
*variable label in local macro
local varlab: variable label v1
*change delimit
#delimit;
format date %dD.N.;
*graph
graph twoway (scatter v1, title("title") caption("`varlab'"))
((line v2 date, sort) xtitle("date"))
*change delimit ;
#delimit cr
local i = `i'+1
}
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out
*
* 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/