I have a plot script that doesn't work in some cases. How can I use the interactive mode of gnuplot to debug user defined functions, i.e. just call them with some literal argument to see if they are evaluated correctly?
On a similar note, is there a way to make gnuplot verbose when processing a script?
I managed to find how to test functions or values in interactive gnuplot, there is a handy print. You use it like this:
print myFunction(1)
I still don't know how to run gnuplot in a verbose mode, anyone?
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