|
From: theozh <th...@gm...> - 2018-06-13 06:46:08
|
Hi, I am trying to plot datablocks separated by some empty lines using fillsteps with "noautoscale". See the example code below. Top left: OK. That's the data with autoscale Top right: Not what I expect. Strange lines with steps when using "noautoscale" Bottom left: OK. fillsteps with autoscale Bottom right: Not what I expect. Strange fillsteps when using "noautoscale" What's wrong with me or my code? # datablocks with empty lines and steps and noautoscale reset $Data <<EOD 1 0 2 0 3 1 4 1 5 0 6 0 10 0 11 0 12 1 13 1 17 1 18 1 19 0 20 0 EOD set multiplot layout 2,2 set key top left plot x,\ $Data u 1:($2*10) w p lt 7 lw 2 title "points",\ $Data u 1:($2*10) w steps lw 2 title "steps" plot x,\ $Data u 1:($2*10) w p lt 7 lw 2 title "noautoscale" noautoscale,\ $Data u 1:($2*10) w steps lw 2 title "noautoscale" noautoscale plot x,\ $Data u 1:($2*10) w fillsteps fs transparent solid 0.1 title "fillsteps" plot x,\ $Data u 1:($2*999) w fillsteps fs transparent solid 0.1 title "noautoscale" noautoscale unset multiplot # EOF |