I was going through the Gnuplot in Action book, and I came across the section that talks about the "every" command. The sample data that the author uses is:
# time - value
0 100.03 # temperature
0 2.10 # pressure
1 100.26 # t
1 2.02 # p
2 101.34 # t
2 1.95 # p
3 102.41 # t
3 1.87 # p
And he plots the temperature vs. the first column of data (time) using the command:
plot "data" every 2 using 1:2 with lines
Is there a way to plot the temperature vs. the pressure without having to manipulate the file itself? In other words, is it possible to use the same column for the x and y data for a plot?