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

st: RE: combining many -twoway (histogram)- graphs


From   Lee Sieswerda <Lee.Sieswerda@tbdhu.com>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: combining many -twoway (histogram)- graphs
Date   Tue, 11 Feb 2003 14:57:53 -0500

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:d.mueller@agr.uni-goettingen.de]
> Sent:	Tuesday, February 11, 2003 2:55 PM
> To:	statalist@hsphsun2.harvard.edu
> 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/



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