Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, is already up and running.

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

st: X-Axis Labels

To   Statalist <>
Subject   st: X-Axis Labels
Date   Fri, 4 Jun 2010 15:40:40 -0400 (EDT)

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:

© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index