[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Time labels
Something like this, perhaps?
sysuse sp500, clear
keep in 1/45
local min: di %tm mofd(r(min))
local max: di %tm mofd(r(max))
tw rarea hi lo d , ti(`min' to `max')
On 5/2/07, Ferry, Danielle (Exchange) <DFerry@bear.com> wrote:
Is it possible to access the label associated w/ a time variable
formatted %tm? More specifically, I am generating a series of graphs
that use the most recent set of data (time period varies depending on
which variables I use), and I want to be able to display on the graph
the label that specifies which time the data refers to (i.e., "2007m2"
rather than "265").
* For searches and help try: