I am trying to run a function in octave
from the command line. The function is currently run like so:
octave --silent --persist --eval 'function(input arguments)'
function.m
contains a plot
command. When I invoke octave
with the above command line parameters, the plot does show but octave enters into its interactive mode. My question is:
Is there any way to get octave to display the plot without entering the interactive mode when it is invoked from the command line?
Just use pause
after your plotting functions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With