Announcement

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

  • How to merge two graphs in STATA into one with A,B labels?

    I am reading a paper from PNAS.

    Their figure 1 is as below

    Click image for larger version

Name:	F1.large.jpg
Views:	3
Size:	121.8 KB
ID:	1633171


    Normally, when running the graph from STATA, I have the two separate graphs: A and B

    Click image for larger version

Name:	a.PNG
Views:	1
Size:	67.4 KB
ID:	1633172
    Click image for larger version

Name:	B.PNG
Views:	1
Size:	77.8 KB
ID:	1633173


    I am wondering is there any way to mark the A and B symbols at the top left of two graphs as the Figure 1.

    And how to merge the two graphs together in one figure?




    Attached Files

  • #2
    Have you looked at the help for -graph combine-?
    --
    Bruce Weaver
    Email: [email protected]
    Web: http://sites.google.com/a/lakeheadu.ca/bweaver/
    Version: Stata/MP 18.0 (Windows)

    Comment


    • #3
      On the detail of the "label", consider this sequence.

      Code:
      . sysuse auto, clear
      (1978 automobile data)
      
      . scatter mpg weight
      
      . scatter mpg weight, caption("A", pos(11) size(large))
      If you're trying to put a lot of stuff at the top, things can get fiddly. For example, such a caption won't by default appear above any subtitle().

      Comment


      • #4
        Originally posted by Bruce Weaver View Post
        Have you looked at the help for -graph combine-?
        Thanks Bruce, I did look at it and I got my general answer.

        Comment

        Working...
        X