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 <>
To   <>
Subject   st: combining many -twoway (histogram)- graphs
Date   Tue, 11 Feb 2003 20:55:00 +0100


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

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?


--- Daniel ---

*   For searches and help try:

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