MATLAB: How to remove points which height (axis y) is more than 75% of the height

remove points height

I have a graphic and i have to Remove all points which height (in the axis y) are more than 75% of the height. Actually, i don't remove this points, just move them to (x, 0.75·heightofword)
How can i do this?
Thanks very much!!!

Best Answer

Just clip the y axis to 75% of the max y value.
maxY = max(y);
maxYForGraph = 0.75 * maxY;
ylim([min(y), maxYForGraph]);