|
From: Georg-Johann L. <av...@gj...> - 2020-04-20 09:16:43
|
Hi, I am new in Gnuplot and am still struggling with it... Usually I am running it as a script from the command line like > gnuplot -persist x.gplot However, the persist option is not working properly, for example with the following x.gplot: plot [0:1] atan(x) plot [0:1] cos(x) quit What I want: Show plot #1 until I close that window, then Show plot #2 until I close that window, then Quit after the last window is closed. However, what happens is: 1) The 1st plot is shown but immediately closed after a fraction of a second. 2) The 2nd plot is shown persistently as desired. 3) After closing that window, Gnuplot does NOT quit, i.e. ignores the final "quit" command. I am sure this question must have been asked 100 times before, but neither the manual nor the FAQ are addressing this. Gnuplot version is v4.4.4 Thanks, Johann |