Example:
IDL> px = [0.3, 0.3, 0.7, 0.7]
IDL> py = [0.3, 0.7, 0.7, 0.3]
IDL> x = RANDOMU(seed1, 5000)
IDL> y = RANDOMU(seed2, 5000)
IDL> id = INSIDE(x, y, px, py, /ind)
IDL> PLOT, x, y, psym = 3
IDL> OPLOT, [px, 0.3], [py, 0.3]
IDL> OPLOT, x[id], y[id], psym = 3, col = 255