Announcement

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

  • Change format of mlabel in graph twoway connected

    Hello everyone,
    I have a graph of the following kind:
    Code:
    sysuse auto
    collapse (mean) gear_ratio, by(rep78)
    graph twoway (connected gear_ratio rep78, mlabel(gear_ratio) mlabposition(12))
    However, I haven't been able to find a way to change the format of the labels generated by mlabel(). I'd be glad if someone has figured it out!

  • #2
    For that example I see 2 decimal places, which matches the display format. To get a different number of decimal places, see

    Code:
    help marker label options
    for the option mlabformat().

    Comment


    • #3
      Thank you!

      Comment

      Working...
      X