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]
Re: st: graph problem
From
Friedrich Huebler <[email protected]>
To
[email protected]
Subject
Re: st: graph problem
Date
Wed, 1 Aug 2012 22:15:33 -0400
Yingge,
You must change the sort order of your data between the two -graph-
commands. It is unlikely that you would get two different graphs with
this sequence of commands:
. graph twoway (scatter p1 age if ~coa, msym(i) connect(L))
. graph twoway (scatter p1 age if ~coa, msym(i) connect(L))
Friedrich
On Mon, Jul 30, 2012 at 2:01 PM, Yingge Lin <[email protected]> wrote:
> hello,
>
> I try to graph using Stata. The prgraom I used is:
>
> .graph twoway (scatter p1 age if ~coa, msym(i) connect(L))
>
> If I run the program for the first time, the graph looks ok. But if I
> run it again, it will connect dots in a wrong way. Why? It is very
> strange to get different graphs just redo the program.
>
> Any thought?
>
> Best,
> yingge
*
* 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/