1
我想用在gnuplot的一個曲線圖多個數據文件格式是這樣的:如何在gnuplot中繪製一條來自多個修改過的數據文件的曲線?
dat1.dat
time x y
1 2 3
2 3 4
3 4 5
dat2.dat
time1 x1 y1
4 5 6
5 6 7
6 7 8
我想以這種方式繪製一條曲線:(time
,x
)和(time1
,x*5
)組合在一起。
我知道我可以做這樣的事情:
plot "dat1.dat" using 1:2, \
"dat2.dat" using 1:($2*5)
,這幾乎是我想擁有的,但後來,我有兩條曲線與傳說中的兩項冠軍,不同的顏色。我想在單圖中有一條曲線,圖例中只有一個標題。
您對繪圖有什麼瞭解?你已經試過了什麼? – bashoogzaad