Announcement

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

  • How to rotate the x axis labels vertically

    How to rotate the x axis labels vertically
    Click image for larger version

Name:	Screenshot 2023-09-11 074601.png
Views:	1
Size:	50.9 KB
ID:	1726734

  • #2
    Code:
    sysuse auto
    graph bar (count), over(mpg, label( angle(90)))
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      How can I also change the intervals between each label on the y axis, how can I make them 1,2,3,4,5,6,7,8,9,10

      Comment


      • #4
        How can I also change the intervals between each label on the y axis, how can I make them 1,2,3,4,5,6,7,8,9,10

        Comment


        • #5
          Code:
          sysuse auto, clear
          graph bar (count), over(mpg, label( angle(90))) ylab(1/10)

          Comment

          Working...
          X