You can use the "graph export" command after each graph and it will save it in a variety of formats (png, ps, tiff, etc). If the final destination for the graph is a PDF file, I would recommend using the "ps" format. Here are some examples:
Hi, i hope you can see this in time:) . I am rookie in using stata, and I have a do file given to me by my partener on our assignment. We are suppose to carry out a reasearch and it yields a few graphs which she has saved in the do file. Now, when I run it, it runs all of the commands in succession and ends up with last one,- a graph. However once the program gets me there I cant seem to find where are the previous graphs. I need to export all of them for our project. I hope you understood.
@slickvampa Sorry - I didn't see any previous posts. Yes - the "do" file will run all the graph commands sequentially and each new graph will replace the previous graph in the window. To see each graph separately, highlight a particular graph command in the do file editor and click the "run" button. Then it will only run that particular graph command and leave it on the screen. Hope this helps.
You can use the "graph export" command after each graph and it will save it in a variety of formats (png, ps, tiff, etc). If the final destination for the graph is a PDF file, I would recommend using the "ps" format. Here are some examples:
graph export MyGraph.png, as(png) replace
graph export MyGraph.ps, as(ps) mag(160) logo(off) orientation(landscape) replace
ProfessorHuber 2 months ago
yes it helps thanks. that is what i have been doing :). So there is no short cut to get backwards aftter stata has finished the do file?
p.s. i meant "see this in time" because my project is due tomorrow :))
slickvampa 2 months ago
Comment removed
slickvampa 2 months ago
Comment removed
slickvampa 2 months ago
Hi, i hope you can see this in time:) . I am rookie in using stata, and I have a do file given to me by my partener on our assignment. We are suppose to carry out a reasearch and it yields a few graphs which she has saved in the do file. Now, when I run it, it runs all of the commands in succession and ends up with last one,- a graph. However once the program gets me there I cant seem to find where are the previous graphs. I need to export all of them for our project. I hope you understood.
slickvampa 2 months ago
@slickvampa Sorry - I didn't see any previous posts. Yes - the "do" file will run all the graph commands sequentially and each new graph will replace the previous graph in the window. To see each graph separately, highlight a particular graph command in the do file editor and click the "run" button. Then it will only run that particular graph command and leave it on the screen. Hope this helps.
ProfessorHuber 2 months ago