Announcement

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

  • Graph Axis Title too Long

    Dear All,

    I'm generating graphs with stata, but the length of l1tile is too long, which exceeds the length of the graph. I'm wondering if there is a way to wrap the title text in to two lines? So that I don't need to change the font size to too small size, or change the graph size, which is not the optimal option.

    Any help is appreciated!

    Thank you very much!

    Best,
    Craig

  • #2
    Code:
    sysuse census, clear
    local t1 "One line title"
    local t2 `" "Two line" "title" "'
    scatter marriage pop, l1title(`t1')
    scatter marriage pop, l1title(`t2')

    Comment


    • #3
      Thank you, Andrew! It is very helpful!

      Comment

      Working...
      X