Announcement

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

  • How to hide a specific line property appears in x axis in twoway plot?

    Dear Stata users, I want to hide a specific line that appears in the x-axis. Here is my code for twoway plot,
    sysuse auto.dta
    g b=_n
    twoway line price weight b

    Then, the graph appears. I have attached the graph. Now, I want to delete only "price" from the x-axis. Please suggest

    Attached Files

  • #2
    Code:
    line price weight b, legend(order(2))

    Comment


    • #3
      Thank you Nick Cox

      Comment

      Working...
      X