gnuplot - do multiple plots from data file with built-in commands
Say I have the file testplot.p:
Code:
set xrange [-10,10] Code:
set xrange [-10,10] |
Quote:
The problem with the above example is that you're reading two instances of stdin which means that after you give it an "end" to signal the end of stdin, there's a second '-' that expects another stdin. The solution then would be either to send the dataset to your script twice, i.e.: Code:
plot '-' using ..., '-' using ... Code:
plot 'some_file' using ..., 'some_file' using... |
Quote:
Let me guess, it's Quote:
That's the same with replot: gnuplot>help datafile special-filenames Quote:
Code:
set xrange [-10:10] |
All times are GMT -5. The time now is 12:25 AM. |