Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Graph: Many Stata graphs in one document (PDF)

    Hello,

    I have done some research on this but could find a concrete solution. I created 4 graphs resulting in 4 single PDF documents.

    Code:
    graph bar (max) preUOFtotr (max) inUOFtotr (max) postUOFtotr,by(unit)
    etc
    graph export "H:\graph1.pdf", as (pdf) replace
    I would like to "append" all 4 graphs into one single PDF document- one page per graph. How can I do this? Perhaps I can save the graphs in Stata format and then somehow combine them. I don't think the graph combine command will work since it combines graphs into 1 page/view and I want each graph in one page.

    I would appreciate any help since combining these single pdf pages using other program is very time consuming.

    Thank you,
    Marvin

  • #2
    Hi Marvin,

    I don't have any code for your problem, but have you read this Statalist discussion? http://www.statalist.org/forums/foru...-graphs-to-pdf

    It seems like it could help

    Chris
    Last edited by Chris Larkin; 19 Oct 2016, 14:34.

    Comment


    • #3
      There's an example of doing this on a slightly larger scale in a project I've been working on at work: http://github.com/wbuchanan/kentuckyStateReportCards. I'm fairly comfortable with LaTeX, so I create a LaTeX document that inserts the graph files into it and then compile the LaTeX file to get everything collapsed into a single document.

      Comment


      • #4
        Thank you both! I will look at the links and let you know if I could solve this issue.

        Comment

        Working...
        X