prompt line blocks access to figure
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hi
i have this code line:
...
plot(x,y)
prompt = 'Choose a number';
the problem is that i need to look in the plot at some points before using the prompt command. when i use the 'pause' command it also doesn't help because the pause is cancelled after one mouse click
is there an elegant way to solve this?
0 Kommentare
Akzeptierte Antwort
Vishal Rane
am 13 Jun. 2013
You could add a pushbutton to the plot figure or a dialog box maybe, indicating to the user that they can use that button/dialog box to continue execution when they are done staring at the plot.
4 Kommentare
Vishal Rane
am 13 Jun. 2013
use this after the msgbox command
set(h,'Position',[400 400 100 50 ]) % [left bottom width height]
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Performance 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!