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: using round time numbers on the x-axis of a stata graph


From   Molly McMahon <mollyam@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: using round time numbers on the x-axis of a stata graph
Date   Sat, 21 Jan 2012 14:56:33 -0600

Hello statalist,
I have stata 12, and I have created a scatterplot with a time of day
variable as the x-axis. The time variable is formatted as %tc,
contains information for a single date, and times range from 00:00:00
to 16:58:55.
I would like the x-axis ticks to reflect even hours, i.e. 00:00:00,
01:00:00, 02:00:00, etc. and I cannot get this to work. Any assistance
is much appreciated.
*
*   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