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

From |
moleps <moleps2@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: AW: st: RE: Graphing time on the x axis |

Date |
Mon, 21 Dec 2009 20:31:36 +0100 |

picture of the graph http://www.flickr.com/photos/45805518@N04/?saved=1 commands . format x %td_HH:MM:SS . list x in 1/5 +----------+ | x | |----------| 1. | 00:00:00 | 2. | 00:00:18 | 3. | 00:00:30 | 4. | 00:00:36 | 5. | 00:01:06 | +----------+ . tw (line mean_amp x if c7==1) (line mean_amp x if c7==2) (line meanp x if c7==1) (line meanp x > if c7==2) Regards, M On 21. des. 2009, at 19.57, Martin Weiss wrote: > > <> > > > You should probably reproduce the problem with a dataset shipped with Stata. > Is the time variable numeric or string? > > > > HTH > Martin > > > -----Ursprüngliche Nachricht----- > Von: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von moleps > Gesendet: Montag, 21. Dezember 2009 19:48 > An: statalist@hsphsun2.harvard.edu > Betreff: Re: st: RE: Graphing time on the x axis > > 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) ... > > Regards > > M > > > 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. >> >> Nick >> n.j.cox@durham.ac.uk >> >> 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/ > > > * > * 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/ * * 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/

**Follow-Ups**:**RE: AW: st: RE: Graphing time on the x axis***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**References**:**st: Graphing time on the x axis***From:*moleps islon <moleps2@gmail.com>

**st: RE: Graphing time on the x axis***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**Re: st: RE: Graphing time on the x axis***From:*moleps <moleps2@gmail.com>

**AW: st: RE: Graphing time on the x axis***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**AW: st: RE: Graphing time on the x axis** - Next by Date:
**st: Labelling the legend removes the legend count in spmap** - Previous by thread:
**AW: st: RE: Graphing time on the x axis** - Next by thread:
**RE: AW: st: RE: Graphing time on the x axis** - Index(es):

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