Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: graph combine all in memory


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: graph combine all in memory
Date   Wed, 24 Jan 2007 16:27:55 -0000

You could use something like -fs- from SSC. 

fs G_*.gph 
graph combine `r(files)' 

Note that -fs-, unlike the extended macro function
on which it is based, can cope with multiple file
specifications. 

Nick 
[email protected] 

Thomas Erdmann
 
> Is there a way to tell -graph combine- to unite several graphs without
> mentioning every graph separately, e.g. all currently in the memory? 
> 
> I tried the -*- and -_all- but that doesn't seem to work. See 
> below how I
> carried it out up to know
 
> * GRAPHICAL ANALYSIS
> 
> set graphics off
> foreach X of varlist G_* {
> graph bar (mean) F15M9etrs, over(`X') name(`X') title("`X'") 
> }
> set graphics on
> 
> #delimit 
> graph combine 
> G_r_nonintinc_netinc 
> G_r_llp_netintrev 
> G_r_eqy_ta 
> G_r_taearn_nearnass 
> G_r_offbs_ta 
> G_r_cost_inc 
> G_c1wc_eps 
> G_F15M12L1mv_bil G_bm_y  
> G_r_nonintinc_netinc G_bm_y   
> , saving(D:\statadata\graphs\group_r)
> #delimit cr

*
*   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