Dear Statalisters,
I must be doing something so obviously wrong I don't see it, but when I specify the name() option with graph export, Stata 17 (on Windows 10 Enterprise) seems to be ignoring it and exports the last created graph window or the graph window last clicked on instead. I have access to two versions of Stata 17 and both give me the same results. Here is what I did:
I even tried
and
Every single time, Stata exports the box plot for weight. Only when I manually click on the box plot for price and return to the main window does
actually exports it.
Am I specifying the name() option incorrectly?
I must be doing something so obviously wrong I don't see it, but when I specify the name() option with graph export, Stata 17 (on Windows 10 Enterprise) seems to be ignoring it and exports the last created graph window or the graph window last clicked on instead. I have access to two versions of Stata 17 and both give me the same results. Here is what I did:
Code:
sysuse auto graph box price, name(price) graph box weight, name(weight) graph export price.emf, name(price)
Code:
graph export price.emf, name("price"), replace graph export price.emf, name(Graph - price) replace graph export price.emf, name("Graph - price") replace
Code:
set autotabgraphs off graph box price, name(price, replace) graph box weight, name(weight, replace) graph export price.emf, name(price) replace
Code:
graph export price.emf, name(price)
Am I specifying the name() option incorrectly?
Comment