Announcement

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

  • Issues with graph combine

    Hello everyone,

    I am having little issue as i am running five different codes to generate 5 different figures and at the end, I want to join them in one row starting from the US, Western, Nothern, Southern, and China. All the figures are in the same folder with gph format. Here is my code

    Code:
    graph combine "C:\Users\efdata\Desktop\graph\Graph_US.gph"
    "C:\Users\efdata\Desktop\graph\Graph_Western.gph"
    "C:\Users\efdata\Desktop\graph\Graph_Northern.gph"
    "C:\Users\efdata\Desktop\graph\Graph_Southern.gph"
    "C:\Users\efdata\Desktop\graph\Graph_China.gph"
    When the code moves to the second line which is western it says an invalid command. I would request if you can suggest how can i combine all these figures in one row. Thank you

  • #2
    Everything is one command line so far as Stata is concerned.

    Comment


    • #3
      I want to them to put in one line, right now the code is one line. But as you can see in the attachment Southern Europe and China is in another line. Do I need to change the page format or something?
      Click image for larger version

Name:	result_raz.jpg
Views:	1
Size:	162.7 KB
ID:	1463390

      Comment


      • #4
        Type

        Code:
        help graph combine
        to learn about the rows() and cols() options.

        Comment


        • #5
          if you look at the help file for graph combine, you will see that there is an option for this: "rows(1)"

          Comment

          Working...
          X