Method: Numo::Gnuplot#pause
- Defined in:
- lib/numo/gnuplot.rb
#pause(*args) ⇒ Object
The pause command used to wait for events on window. Carriage return entry (-1 is given for argument) and text display option is disabled.
pause 10
pause 'mouse'
pause mouse:%w[keypress button1 button2 button3 close any]
168 169 170 171 |
# File 'lib/numo/gnuplot.rb', line 168 def pause(*args) send_cmd("pause #{OptArg.parse(*args)}").join.chomp nil end |