how to remove points which height (axis y) is more than 75% of the height
1 view (last 30 days)
Show older comments
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!!!
0 Comments
Accepted Answer
Image Analyst
on 1 Oct 2013
Just clip the y axis to 75% of the max y value.
maxY = max(y);
maxYForGraph = 0.75 * maxY;
ylim([min(y), maxYForGraph]);
3 Comments
More Answers (0)
See Also
Categories
Find more on Construction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!