-tlabel- is an option, so it should be separated from the main command with a comma:
graph twoway line st date, tlabel( 01jan1992 26mar1999 29sep2003 20nov2008)
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
--- On Sun, 17/5/09, Beatrice Crozza <[email protected]> wrote:
> From: Beatrice Crozza <[email protected]>
> Subject: st: tlabel
> To: [email protected]
> Date: Sunday, 17 May, 2009, 1:15 PM
> Dear all,
>
> I am doing a twoway line graph and I want to give precise
> date to my
> xlabel, so I type:
>
> graph twoway line st date tlabel( 01jan1992 26mar1999
> 29sep2003 20nov2008)
>
> but i receive invalid name as error message.
>
> I tried also to type:
> graph twoway line st date tlabel(d(01jan1992) d(26mar1999)
> d(29sep2003) d(20nov2008))
>
> but doesn't work as well.
>
> What I am doing wrong?
>
> Thank you
>
> Bea
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/