Suppose I have two series x1 and x2 that I want to plot towards each other.
X1 has some outliers for instance three values above 10 000.
I want to get rid of those and the matching observations in x2.
What would be the easiest way to do that? I've tried some alternative but they're clumpsy and don't give me exactly what I want.
Removing outliers
Re: Removing outliers
Use the SMPL option on SCATTER.
scatter(smpl=(x1<10000))
# x1 x2
scatter(smpl=(x1<10000))
# x1 x2