Statalist


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

st: How to Plot: One dummy, different markers for different values, over time, by individual states


From   Green Alexandra <alexandra.b.green@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to Plot: One dummy, different markers for different values, over time, by individual states
Date   Thu, 9 Jul 2009 15:31:37 +0800

Hi All,

I am trying to make a plot with a panel from 1970 to 2000 with an
annual rain-fall dummy for all states in the U.S., the dummy = 1 if
above a threshold amount; = -1 otherwise.

Essentially, I am hoping to generate one plot/table that shows all the
years on the on the x-axis;
on the y-axis, it would plot the dummy for each state on the SAME
line, but uses a different marker symbol  for when the dummy value is
1 versus when dummy is -1.  As below:

State 1|  *      ~     ~
State 2|  ~     *      *       *
............|
State N|_.___.___._________________________________
               70   71   72

I have tried many different combinations of scatter plots but couln't
quite get it to work. Your input and suggestions would be really
appreciated!


Thanks,
Alex
*
*   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