Statalist


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

st: Re: How to save graphs with the same name of the data file


From   "Michael Blasnik" <michael.blasnik@verizon.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: How to save graphs with the same name of the data file
Date   Sat, 23 Feb 2008 12:52:36 -0500

...

It would be easy an ado file to write. If you want it interactive, then:

graph export `"`c(filename)'.wmf"'

should work.

Michael Blasnik

----- Original Message ----- From: <tiago.pereira@incor.usp.br>
To: <statalist@hsphsun2.harvard.edu>
Sent: Saturday, February 23, 2008 12:44 PM
Subject: st: How to save graphs with the same name of the data file



Hello Statalisters!

I am using -graph export- to automatically save a number of graphs (.wmf).
Since I could not find the solution by myself, would it be possible to you
to provide any tips on how to save graphs with the same name of the
original data file?

I mean, I open the test_01.dta file, for instance, and generate a scatter
plot with its data. the objective is to save a test_1.dta.wmf. Is that
possible?
*
*   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