Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Date formating of subtitles with by_option

From   Zachary Harrison <[email protected]>
To   [email protected]
Subject   st: Date formating of subtitles with by_option
Date   Mon, 25 Sep 2006 06:56:09 -0700 (PDT)

Hi all-

I am attempting a twoway with a ",
by(<date_variable>)" option.  My date variable is
formatted with %tmmY, yet the subtitles of the suplots
are numbers.  Here is a very basic example where the
twoway command has the numerical subtitles.  Is there
a way to fix this?  

. desc dtm

              storage  display     value
variable name   type   format      label      variable
dtm             float  %tmmY                  

. list

     |   dtm   v1 |
  1. | Feb05    1 |
  2. | Mar05    1 |

. twoway (scatter v1 v1), by(dtm)



Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
*   For searches and help try:

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