Statalist


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

Re: st: multiple graphs


From   Martin Weiss <martin.weiss@uni-tuebingen.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: multiple graphs
Date   Sat, 14 Jun 2008 17:54:32 +0200

This creates three tabs with three distinct graphs for me:

*****
sysuse auto, clear

loc vars "price mpg weight"

foreach var of loc vars{
	hist `var', name(mygr`var', replace)
}
********


What happens when you run this code?

Zitat von moleps islon <moleps2@gmail.com>:

But shouldn't there be an option somewhere in stata to let me have
mutiple graphs under induvidual tabs in the graph window? Or several
graph windows?
regards,
Moleps


On Sat, Jun 14, 2008 at 5:32 PM, Martin Weiss
<martin.weiss@uni-tuebingen.de> wrote:
in the options to the graph, say -save(mygraph1, replace)- and possibly
-nodraw- if all you want is to -gr combine- afterwards...


Zitat von moleps islon <moleps2@gmail.com>:

How do I instruct stata to retain the different graphs while running a
do file? From the looks of it stata closes the graph window before
starting a new graph command. I've turned on the mutiple graphs tab in
preferences...
*
*   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/

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