Announcement

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

  • How to get all labels in bold?

    Dear all,

    I would like to have all labels in bold. Example:

    Code:
    sysuse auto, clear
    gene n = _n
    scatter n length ,  msymbol(i) mlabel(make) mlabposition(3) mlabgap(2) mlabsize(tiny) mlabcolor(black)
    Is there a way to get all labels "bolded"?

    All the best,

    Tiago

  • #2
    Not directly, but you can create a separate variable for this

    Code:
    gen bfmake = "{bf:" + make + "}"
    scatter n length ,  msymbol(i) mlabel(bfmake) mlabposition(3) mlabgap(2) mlabsize(tiny) mlabcolor(black)

    Comment


    • #3
      Dear Andrew,

      Thank you so much! Perfect solution.

      All the best,

      Tiago

      Comment

      Working...
      X