waitforbuttonpress
- :
b =waitforbuttonpress()¶ Block until the user clicks a mouse button or presses a key in the current figure.
b is 0 after a mouse click and 1 after a key press.
waitforbuttonpressb = waitforbuttonpress () ¶Block until the user clicks a mouse button or presses a key in the current figure.
b is 0 after a mouse click and 1 after a key press.