Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: X-Axis Labels


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: X-Axis Labels
Date   Fri, 4 Jun 2010 22:12:35 +0200

<>

http://www.stata.com/support/faqs/graphics/nicetime.html


HTH
Martin

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Freitag, 4. Juni 2010 21:41
To: Statalist
Subject: st: X-Axis Labels

Stata 11.1/IC

Imagine a dataset of this type where time2 ranges from 19may2010 to 8jun2010, and PM is hourly average.
PM		time2
.082	19may2010 13:00:00
.011	19may2010 14:00:00
.013	19may2010 15:00:00
.011	19may2010 16:00:00
.012	19may2010 17:00:00
.01	19may2010 18:00:00

formatting: PM double 10.0g    time2 double %tc

tw line PM time2
yields x-axis labeled 
20may2010 18:40:00   26may2010 13:33:20   01jun2010 08:26:40  07jun2010 03:20:00

which is messy. How may these labels be trimmed to read
20 may   26may   01jun   07jun  ?

Thank you for your assistance. 
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index