Announcement

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

  • ring setting of legend option and scheme modified

    Dear Stata users,

    I like placing the legend inside the plot, so I modify scheme s2color as follows:
    Code:
    gridringstyle legend_ring     0 // the default is 3, I change the value to 0
    The modified scheme performs well, however, it failed when I place the legend outside the plot region by setting ring(1). I want to know if there's another flexible way to change default ring setting. Thank you.
    Code:
    sysuse auto, clear
    twoway line length weight price, sort
    twoway line length weight price, sort legend(ring(1)) // the command failed
Working...
X