David LB Schwappach
> I'm preparing a report on survey data. Survey questions are saved as
> variable labels. My question is whether there is an option
> to use the
> variable labels as title in the histogram command? I know
> that I can do
> this manually via copy/paste, but a command to adress the label
> automatically would be very appreciated.
I am not aware that you can do this except through
something like
foreach v of var <varlist> {
local lbl : variable label `v'
histogram `v' , title("`lbl'") <other_options>
}
Nick
[email protected]
*
* 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/