I'm not 100% sure what you are saying, but I believe you problem is in the if statement as shown below. Specifically, you can never enter the first clause unless y=.5, which is unlikely. I suspect you wanted abs(y)<0.5
, to look between [-0.5 0.5]. Secondly, your two plots don't match each other, the first plots complex numbers, and the second x and y values. That just doesn't seem right, but I'm not certain what you are trying to do, so I don't know how to fix it.
if( y > 0.5 | y < 0.5)
r1 = x + i*y
r2 = conj(r1)
plot (r1,'*')
hold all
plot (r2,'*')
else
plot (x,y)
end