Statalist


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

RE: st: RE: Graphing time on the x axis


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: Graphing time on the x axis
Date   Mon, 21 Dec 2009 18:59:57 -0000

You were unclear in the sense that you haven't yet given either a clear description of your variables or any details on what commands you typed. 

But it sounds to me as if Stata is showing time information only for data that span more than two days. That may be because of the -format- you assigned. 

Please -describe- and -summarize- the relevant variables and show us the results. 

Nick 
[email protected] 

moleps

Maybe I was unclear in my description of the graph, but i dont think it is a scale or label question. The problem is that given the coordinates (00:00, 2.3) (05:36,1.9) (07:20,3.1) (18:58,2.9) they are not graphed in that order; Instead I have (07:20,3.1) (18:58,2.9) (00:00, 2.3) (05:36,1.9) ... 


On 21. des. 2009, at 13.45, Nick Cox wrote:

> Clearly you need to specify your own. 
> 
> A convenience tool is -mylabels- from SSC. You just need to specify the conversion from Stata's underlying scale, presumably milliseconds, to your desired scale, which may be hours (you don't say what you want instead). See the help for more. 
 
moleps islon
 
> I´ve created a variable, time, for two measurements that both have
> been subtracted from the starting time of the measuerement so that the
> two  start out with time 00:00:00 and I have measurements every 10
> sec. However after doing a twoway plot the starting point is not
> 00:00:00. Instead I have these tick marks and values along the x
> axis:: 07:20--12:53--18:58--00:00--05:36.... Any ideas?

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index