Announcement

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

  • Binscatter

    Has anyone used the user-written command binscatter and knows who to control the size of markers? msize is not allowed as an option.

  • #2
    You can save the plot points and the command that generates the plot using the option savedata(). You can then modify the command as needed.

    For instance,
    Code:
    sysuse nlsw88, clear
    binscatter tenure wage, savedata(bs)
    creates the files bs.do and bs.csv. You can then edit the bs.do file as follows:
    Code:
    insheet using bs.csv
    
    twoway (scatter tenure wage, mcolor(navy) lcolor(maroon) msize(huge)) (function 0*x^2+.1698445727245917*x+4.654345060114545, range(2.404710731230491 27.06101347089888) lcolor(maroon)), graphregion(fcolor(white))  xtitle(wage) ytitle(tenure) legend(off order())

    Comment


    • #3
      binscatter is from SSC. Michael Stepner's email at MIT given in the help may no longer work, but it's easy enough to find him on the web.

      Comment

      Working...
      X