Ignoring the rest of the problem, look at what a nice informative
error message you got--why are you specifying the dates in the
tlabel() option as strings, rather than numbers? You can get the
corresponding numbers easily enough:
. di mdy(9,1,1992)
11932
or you can figure them out on the fly:
. twoway (tsline pct) (scatter pct date, ms(Oh)), tlabel(`=mdy(9,1,1992)',`etc')
and you can figure out the whole set of dates you actually have with
the -levels- or -levelsof- command, and include the values.
. levelsof date, local(alldates)
. twoway (tsline pct) (scatter pct date, ms(Oh)), tlabel(`alldates')
On 2/11/06, Caleb Southworth <[email protected]> wrote:
> . twoway (tsline pct) (scatter pct date, ms(Oh)), tlabel(01sep1992
> 01oct2003)
> invalid ticklist, 01sep1992 must be number
> invalid syntax
> invalid syntax
> r(198);
*
* 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/