I have a question, how can I get the data values from a function in gnuplot? For example I do
plot [0:pi] sin(x)
but I want to get the data values from this plot, how can I do that?.
You can use table mode.
set samples 100 set table "sin.dat" plot [0:pi] sin(x)