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]

From |
"Lim, Raymond" <rl2240@columbia.edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: sequential graphing |

Date |
Tue, 15 Feb 2011 13:48:47 -0500 |

I guess a more concrete example of pcspike would clarify. This is a completely random example. Let's say you have a map of Central Park. You have beginning x-y coordinate of a trip and end x-y. You connect these points with a red line for trips that are completed earlier than expected or on time, and a blue line for trips that are completed later than expected. In my graphing command, if I specify the red first and blue next; the blue lines washes out the red. Vice versa if I swap the order. The code would be something along the lines of: twoway pcspike y_start x_start y_end x_end if early==1, lwidth(vvthin) lcolor(red) /// || pcspike y_start x_start y_end x_end if early==0, lwidth(vvthin) lcolor(blue) Again, this is a completely random example. * * 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**:**st: RE: RE: RE: sequential graphing***From:*Nick Cox <n.j.cox@durham.ac.uk>

- Prev by Date:
**st: RE: Scatterplot with weighted markers** - Next by Date:
**st: RE: RE: RE: sequential graphing** - Previous by thread:
**st: Prediction after a Xtlogit** - Next by thread:
**st: RE: RE: RE: sequential graphing** - Index(es):