两行之间填写

时间:2017-05-22 14:57:04

标签: gnuplot

我有一个gnuplot代:

gnuplot -p -e "set title \"Enveloppe\";
plot 'WATER' using 1:2 title 'MAX' with lines,
'WATER' using 1:3 title 'MIN' with lines,
'WATER' using 1:4 title 'MEAN' with lines"

actual plot

我想填写MAX和MIN之间没有隐藏MEAN,如下所示:

enter image description here

如何使用gnuplot?

1 个答案:

答案 0 :(得分:2)

在所有其他地方之前添加一个地块with filledcurves

gnuplot -p -e "set title 'Enveloppe'; set style fill solid noborder;
    plot 'WATER' using 1:2:3 notitle with filledcurves,
        '' using 1:2 title 'MAX' with lines,
        '' using 1:3 title 'MIN' with lines,
        '' using 1:4 title 'MEAN' with lines"