Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging in interactive gnuplot

Tags:

gnuplot

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?

like image 758
Grzenio Avatar asked Feb 27 '26 03:02

Grzenio


1 Answers

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?

like image 59
Grzenio Avatar answered Mar 02 '26 16:03

Grzenio



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!