One would like that "set style data histeps" applies to both y-axes of a plot. Example:
set style data histeps set xrange [-1:10] set yrange [-1:10] set y2range [-1:10] plot "examp" using ($1*2):2 axis x1y1, "examp" using ($1*2):3 axis x2y2
with file "examp" containing
1 2 2 2 3 3 3 4 4
should show the same line graph for both axis, not two different graphs.
(tested with 5.4. patchlevel 2)
There is an error in your script.
You either need to assign the same range to both x axes (
set link x2
orset x2range[-1:10]
) or you need to use the x1 axis for both plots:Yes, I understand. The ticket can be closed as resolved. An example of that kind would be nice in the manual..)