Statalist


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

Re: st: multiple graphs


From   Martin Weiss <[email protected]>
To   [email protected]
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 <[email protected]>:

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
<[email protected]> 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 <[email protected]>:

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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index