set terminal png font "/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf" size 300,300 crop
set output "Piecewise_constant.png"
set key off
set xzeroaxis
set xtics axis 1,1
set ytics nomirror 1
set border 2
set yrange [-1.1:1.1]
plot 'pointssteps.txt' with fsteps linetype 3 linewidth 4, \
'points.txt' with points linetype 1 pointtype 7 pointsize 1.5, \
0 with lines -1
This work has been released into the public domain by its author, I, Berland. This applies worldwide. In some countries this may not be legally possible; if so: I, Berland grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Captions
Add a one-line explanation of what this file represents
== Summary == {{Information |Description=Illustration of constant interpolation, more precisely en:Nearest neighbor interpolation on the same dataset as listed in Interpolation. |Source=self-made in Gnuplot |Date