I am trying to run a function in octave from the command line. The function is currently run like so:
octave
octave --silent --persist --eval \'functio
You can use:
waitfor(h)
at the end, which waits for you to close the figure.