Announcement

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

  • #16
    clear
    sysuse pop2000, clear
    replace maletotal = maletotal/1e+6
    tw (bar maletotal agegrp in 1/5) (scatteri 10.55 2 10.55 3, recast(line) ///
    lw(medthick) mc(none) lc(black) lp(solid)) (scatteri 10.55 2 10.55 3, ///
    recast(dropline) base(10.52) lw(medthick) mc(none) lc(black) lp(solid)), ///
    ysc(r(., 11)) scheme(s1mono) leg(off) text(10.55 2.5 "p<.001", place(n))

    Now, it can be displayed, but the font is ugly.

    Comment


    • #17

      Below is snapshot of the created graph in which the statistical significance level is placed.
      Click image for larger version

Name:	sanpshot.JPG
Views:	1
Size:	85.5 KB
ID:	1714623

      Comment


      • #18
        Originally posted by smith Jason View Post

        Now, it can be displayed, but the font is ugly.
        See

        Code:
        help graph text

        Comment


        • #19
          Originally posted by Andrew Musau View Post

          See

          Code:
          help graph text
          I used the method you showed at this thread to place brackets on the bar charts by group created by twoway comamnd. However, it doesn't work. Could you please help me?
          Last edited by smith Jason; 23 May 2023, 21:15.

          Comment


          • #20
            Originally posted by smith Jason View Post

            I used the method you showed at this thread to place brackets on the bar charts by group created by twoway comamnd. However, it doesn't work. Could you please help me?
            What does "it doesn't work" mean here? Do you not show the result in #17?

            Comment


            • #21
              Originally posted by Andrew Musau View Post

              What does "it doesn't work" mean here? Do you not show the result in #17?
              Thanks for your response. In fact, I have difficulties in addressing this issue at https://www.statalist.org/forums/for...roups-in-stata in which I want to add brackets in your graph here to the bar charts created by twoway command.

              Comment

              Working...
              X