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

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

You can run gnuplot directly with gnuplot The environment opens in the console and you can add your commands after gnuplot> load 'file.gnu' If you're not in the same directory, you have to go there before or specify the path for the file. You can have a look at this tutorial and here are some examples.


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