and majordomo said: "Off with his head!"
Hi all,
(second time sending this..., first time didn't come through)
I have been doing a large series of graphs for comparison with one
> another. I actually have to immediately export them into emf, wmf,
> whatever my employer desires. I have realized that an immediate
> -export()- option (analogous to -saving()-) would be extremely
> useful, literally cutting my code in half. I cannot execute within a
> loop because the names of the graphs have to be pretty descriptive of
> what I am doing.
>
>
> current code
> *****
> tw (blah blah blah).....
> gr export "here.emf"
> *****
>
> desired code:
> ****
> tw (blah blah blah), export("here.emf", emf)
> ***
>
> another nice touch would be to not have to display the graph to
> export it ( much like saving()), but my (limited) understanding of how
> export works involves printer drivers converting files, such that the
> graph must be displayed in order to "print" it.
>
>
> I know they are small things, but when making many (many) graphs, it
> adds up. Based on my runtimes (with tw and sub ado's already loaded
> before times taken):
> graph, : 5.5 seconds
> export : 0.5 seconds
> ------------------------------
> -----------------------------
> graph w/ export : 6.0 seconds
>
> graph, nodraw saving() : 4.3 seconds
>
> Assuming graph, nodraw export() acts the same, I save 1.7 seconds per graph.
>
> A measely 1.7 seconds you say? True.... however I am running a total
> of 1000 graphs (20 graphs from 50 different files). Thats a half hour
> to me.
>
> Anyways, seemed like a useful option to me, though I wanted to see if
> anyone else thought so...
>
> Comments?
>
>
> Cheers,
>
> Dan Egan
>
>
> Full disclosure: I have been working with this for three days now. My
> current view of the importance is thus highly skewed.
>
> *
> * 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/