Tag Info

Hot answers tagged

2

If you can write a command that can calculate the function you need, then you're done: gnuplot> f(x) = real(system(sprintf("echo %f", x))) gnuplot> plot f(x) (see help system) So you can use e.g. octave to calculate your value. E.g., if your system is linux, you can have directly: gnuplot> bJ(a,x) = real(system(sprintf("echo 'besselj(%f,%f)' | ...


1

In general in gnuplot there are at least 5 mode to make persistent the execution of a script, from inside and from command line Put a pause -1 after the plot command in the file, or at the file end. Use command gnuplot filename.gp - (yes, dash is the last parameter) to stay in the interactive regime when the script completes. Run gnuplot as gnuplot ...


1

Before of all you need to be sure that gnuplot is crashing. To do it just run your command and after ask to the shell the exit code with echo $? gnuplot -e "plot 'data.dat'" echo $? If it returns 0 it means the execution finished without error. The -persist parameter can fix your problem. gnuplot -persist -e "plot 'data.dat'" If it returns a number ...


1

Not sure if this response will be of relevance anymore but since I wasn't able to find the answer elsewhere I thought I should share this with anyone else who may be stumbling across this page: You can use the data style "steps" to achieve what you would like. The step style maintains your data value until the next sample. You will have two ways of ...


1

It is possible with a trick, but at present I am able to do it only by hands. Considering that: The postscript is a language. The eps file is text readable. At the line 443 of the output generated by your command there you can read 1.28 w If you modify changing the value you will change the thickness of one of the filling pattern. For example I tryed: ...


1

I solved it by setting the install flag --with-aquaterm, not -with-aqua brew install gnuplot --with-aquaterm



Only top voted, non community-wiki answers of a minimum length are eligible