Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: how to automating twoway plots


From   "Rafael Bertola" <[email protected]>
To   [email protected]
Subject   st: how to automating twoway plots
Date   Tue, 06 Apr 2004 13:01:47 -0300

I have one data set like the one below.

IND     Q       P1      P2      P3      (...)
-------------------------------------------------
p1a1    1       106,5   83,2    40,8    
p1a1    2       85      46,7    31,4
p1a1    3       75,5    32,9    27
p1a1    4       38,6    24,7    31,5
p1a1    5       25,5    28,6    16,2
p1a2    1       146,5   98,9    52,1
p1a2    2       114,9   56      37,1
p1a2    3       104     39,2    30,7
p1a2    4       47,8    26,7    34,9
p1a2    5       32      33,3    23,6
p1a3    1       33,6    29,6    27,6
 .
 .
 .

Where, IND identify a type of measure. 
Q is a indicator of first, second,... quitiles.
and P1, P2, P3, are de measures for countrys.

I want plot a twoway graph with Q on x-axis e P1, P2, P3 on y-axis.
The dataser is big. 
How i do this in a automatic manner? Using a .do file?
Whe the value of IND changes, one new graph is created. And the previous
graphic, it can be saved on disk?

Thanks

Rafael Bertola
-- 
  
  [email protected]

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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