Announcement

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

  • Textbox position in bar graphs

    I am trying to change the position of subtitles in bar graphs. I've created a MWE from Stata's dataset:
    Code:
     
     use http://www.stata-press.com/data/r15/lifeexp, clear graph bar, over(lexp) by(region)
    I wish that the subtitle textbox position (of all subgraphs) would be on the red rectangle shown in the attached screenshot (the screenshot shows only one subgraph).
    Anyone knows how to do it?


    Click image for larger version

Name:	Screen Shot 2020-01-30 at 12.48.33.png
Views:	2
Size:	102.8 KB
ID:	1534298
    Stata/MP 15.1

  • #2
    Code:
    use http://www.stata-press.com/data/r15/lifeexp, clear 
    
    graph bar, over(lexp) by(region) subtitle(, fcolor(none) ring(0) pos(11) nobox nobexpand)

    Comment


    • #3
      Thanks Nick, I don't know what I would do without your prompt and helpful replies.
      Stata/MP 15.1

      Comment


      • #4
        You would get help from others!

        Comment


        • #5
          Can you tell me where is the option "ring" in the graphics dialog boxes? If it is there at all?
          Stata/MP 15.1

          Comment


          • #6
            I pass on that one. I never use the dialog boxes for graphics.

            Comment

            Working...
            X