Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: connectstyle


From   Nick Cox <n.j.cox@stata.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: connectstyle
Date   Thu, 25 Sep 2008 10:43:00 -0500

Further to Svend Juul's excellent advice, see also -linkplot- from SSC.

Nick
n.j.cox@durham.ac.uk

Ashim Kapoor

I wish to draw a graph like this : ---

                            1   *





                                                2 *                  3 *





0 *


I want lines between  0 and 1 , 1 and 2 and 1 and 3 .

So if I have 0 , 1 and 2 in a var I can join them with a line. But the
next segment should be between 1 and 3. How do I do that ? I looked up
connectstyle but I don't think it can do this  ? Can it ?

I can always draw 2 seperate segements , 0 - 1 - 2 and 1 -3 but can i
do this in one go ?
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index