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

st: combining many -twoway (histogram)- graphs


From   Daniel Müller <d.mueller@agr.uni-goettingen.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: combining many -twoway (histogram)- graphs
Date   Tue, 11 Feb 2003 20:55:00 +0100

Hi,

I would like to combine several histograms with:
-------------------
. use evaluation, clear
 
. forvalues i = 1(1)10 {
  2.         twoway (histogram q`i', discrete frequency), xlabel(1(1)5)
name(q`1', replace) scheme(sj)
  3. }

. graph combine q1-q10
q1-q10 is not a memory graph
invalid syntax
invalid syntax
r(198);
-------------------

I can only combine up to two graphs with -graph combine q1 q2-. From three
onwards, I receive the same error message as above.

Is there a workaround? Or another option to combine the multiple histograms?

Thanks!

--- Daniel ---


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index