It looks to me like "q1-q10" is not being expanded. Try typing out the graph
names in full.
Lee
> -----Original Message-----
> From: Daniel M�ller [SMTP:[email protected]]
> Sent: Tuesday, February 11, 2003 2:55 PM
> To: [email protected]
> Subject: st: combining many -twoway (histogram)- graphs
>
> 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/
*
* 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/