Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Variable label as title in histogram

From   Daniel Müller <>
To   <>
Subject   st: RE: Variable label as title in histogram
Date   Thu, 27 Mar 2003 11:07:53 +0100

David Schwappach asks:

> 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.

. local varlab : variable label varname
. twoway (histogram varname, ti(`varlab'))


*   For searches and help try:

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