Announcement

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

  • graph combine labeling

    I have the same question as #4 that was never answered: https://www.statalist.org/forums/for...ombined-graphs

    Is there a way to have a common x-axis when using graph combine that also correspond with the right locations on multiple graphs.

    This command has a common label across multiple combined graphs but each label doesn't align with data. Attaching example with code and attaching output
    Click image for larger version

Name:	example.png
Views:	2
Size:	62.6 KB
ID:	1636398


    #delimit ;
    graph combine pciai.gph unemploymentai.gph educationai.gph , b1(1990 2000 2010 2020) col(1) xsize(2.5) ysize(6.5)
    ,

    ;
    #delimit cr
    Attached Files
    Hello statalisters, I'm combining graphs one next to the other and I would like to display a common ytitle (on the left side) and a common xtitle just in the

  • #2
    as a solution to this you need to manually add spacing between the labels such as: b1(1990 2000 2010 2020 )

    Comment


    • #3
      I doubt that graph combine offers what you want. However, there is here neither sample data nor any indication of the code used to produce the individual graphs, so that is just a guess.

      Comment

      Working...
      X