Announcement

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

  • Help with adjusting the range of a scatterplot

    Hey guys! I want to adjust the range of my scatterplot. I have some large outliers that I still want to include in my estimates, just not in the figure.

    Code:
    twoway (scatter bf078 year if treat == 1 & lowincomelimit == 1, msize(vsmall) mcolor(red)) (scatter bf078 year if treat == 1 & lowincomelimit == 0, msize(vsmall) mcolor(blue)) (qfitci bf078 year if year < 2011 & treat == 1 & lowincomelimit == 1, sort lcolor(black)) (qfitci bf078 year if year > 2011 & treat == 1 & lowincomelimit == 1, sort lcolor(black)) (qfitci bf078 year if year < 2011 & treat == 1 & lowincomelimit == 0, sort lcolor (green)) (qfitci bf078 year if year > 2011 & treat == 1 & lowincomelimit == 0, sort lcolor(green)), xline(2011) ytitle("bf078")


  • #2
    Duplicate post. If interested, see https://www.statalist.org/forums/for...-a-scatterplot

    Comment

    Working...
    X