如何在Gnuplot中合并两个绘图

如何在Gnuplot中合并两个绘图,gnuplot,Gnuplot,如何在同一图形中合并方框图和线条图? 我有两个数据文件。一个用于绘制方框图,另一个用于绘制线图。使用这些数据文件,如何在同一个图形中绘制方框图和线条图 提前谢谢 set terminal pngcairo size 1024,768 enhanced font "Helvetica,15" set output "filename" unset log unset label unset key set style fill solid 0.0 border -1 set style b

如何在同一图形中合并方框图和线条图? 我有两个数据文件。一个用于绘制方框图,另一个用于绘制线图。使用这些数据文件,如何在同一个图形中绘制方框图和线条图

提前谢谢

set terminal pngcairo size  1024,768 enhanced font "Helvetica,15"
set output "filename"

unset log 
unset label
unset key

set style fill solid 0.0 border -1
set style boxplot outliers pointtype 7
set style data boxplot

set xrange [0 to 30]
set xtics ("0" 1, "5" 2, "10" 3, "15" 4, "20" 5, "25" 6, "27" 7, "29" 8, "30" 9) scale 0.0

set xtics nomirror
set ytics nomirror

set yrange [0 to 150]
set ytics 0,10,150
set title " "
set xlabel " "
set ylabel " "

plot for [i=1:9] 'file1' using (i):i notitle with boxplot lt -1, \
     'file2' with linespoints ls 1 ps 2 lw 2 lt rgb "blue"

用方框打印“file1”,用线条打印“file2”
嗨,我试过了。但是x轴正在缩小。
使用1:2的“file2”不,仍然得到相同的结果