how to remove points which height (axis y) is more than 75% of the height
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Antonella
am 1 Okt. 2013
Kommentiert: Antonella
am 1 Okt. 2013
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 Kommentare
Akzeptierte Antwort
Image Analyst
am 1 Okt. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!