Setting plot zoom mode?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
If you right click on a plot and go to zoom mode, it is defaulted to unconstrained zoom, with horizontal and vertical as choices. Is there any way to change this default?
0 Kommentare
Akzeptierte Antwort
Wayne King
am 15 Okt. 2011
You can set the behavior through the zoom command. See the help. For example, to zoom just in the horizontal direction.
plot(randn(100,1));
h = zoom;
set(h,'Motion','horizontal','Enable','on');
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Exploration 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!