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

st: RE: RE: different graphics windows


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: different graphics windows
Date   Tue, 22 Oct 2002 18:37:58 +0100

Stas Kolenikov
 
> You can also combine graphs through -graph using- construct 
> if you wish.

Indeed. I will echo here some code 
I sent Richard Hoskins as a further example. 

Multiple graphs can easily be displayed in one window, e.g. 

foreach v of var * { 
	set graphics off
	graph `v', box saving(g1, replace) 
	graph `v', histogram, saving(g2, replace) 
	kdensity `v', saving(g3, replace) 
	dotplot `v', saving(g4, replace) 
	set graphics on 
	gra using g1 g2 g3 g4
	more
} 

 
> In fact, my impression was that one can do multiple graphic 
> windows with
> UNIX Stata (that requires some UNIX pipe manipulations, I believe),
> although I am not quite sure since I have a very limited 
> experience with Stata under UNIX. 

Ditto. Definitive answer, anybody? 

Nick 
n.j.cox@durham.ac.uk 

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