Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Producing graphs "quietly" and quickly
From
Eric Booth <[email protected]>
To
[email protected]
Subject
Re: st: Producing graphs "quietly" and quickly
Date
Tue, 17 Apr 2012 08:01:00 -0500
<>
Use -set graphics off- This still produces an exportable graph:
****
sysuse auto, clear
set graphics on
gr bar rep78, name(g1, replace)
graph export "g1.eps", as(eps) replace
**g2.eps is created without drawing the graph:
set graphics off
gr bar rep78, name(g2, replace)
graph export "g2.eps", as(eps) replace
set graphics on
****
I'm using Stata 12 MP on Mac OSX - I have no idea if this works on other versions/systems.
- Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
+979.845.6754
On Apr 17, 2012, at 7:47 AM, Michael Boehm wrote:
> Thanks Nick for this, it seems there is not really a "solution" to my
> query then.
>
> Michael
>
> On Tue, Apr 17, 2012 at 10:08 AM, Nick Cox <[email protected]> wrote:
>> This was covered in a recent thread starting at
>>
>> http://www.stata.com/statalist/archive/2012-04/msg00645.html
>>
>> subject to your defining what "produce" and "not pop up" mean exactly.
>>
>> Nick
>>
>> On Tue, Apr 17, 2012 at 9:51 AM, Michael Boehm <[email protected]> wrote:
>>
>>> I have to produce a substantial number of graphs---which are automated
>>> in a dofile with many loops---again and again and would like to have
>>> them not pop up every time they are produced. Is there any command to
>>> do this? Maybe this could also speed up the process...?
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/statalist/faq
>> * http://www.ats.ucla.edu/stat/stata/
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/