Statalist


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

Re: st: multiple graphs


From   "moleps islon" <moleps2@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: multiple graphs
Date   Sat, 14 Jun 2008 18:00:48 +0200

it works. However I find the multiple graph thing rather cumbersome.
The essence is that you have to give each graph a separate name.

However I think it would be more userfriendly to have a graph
routine/window automatically giving new tabs labeled graph1...2..3..4
etc.etc in case one doesnt invoke the name option.
Regards


On Sat, Jun 14, 2008 at 5:54 PM, Martin Weiss
<martin.weiss@uni-tuebingen.de> wrote:
> 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/
>
*
*   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