File:Interpolation example linear.svg

Summary

Description Illustration of linear interpolation on a data set. The same data set is used for other interpolation methods in the interpolation article.
Date
Source self-made in Gnuplot
Author Berland

Based on original PNG version by User:Jitse Niesen (with gnuplot source code) and svg-version by User:Cronholm144.

Gnuplot source code

set terminal svg fname "Vera" fsize 25
set output "Interpolation_example_linear.svg"
set key off
set xzeroaxis
set xtics axis 1,1
set ytics nomirror 1
set border 2
set samples 2
plot "-" with lines linetype 3 linewidth 4, \
     "-" with points linetype 1 pointtype 7 pointsize 0.7, \
     0 with lines linetype -1 linewidth 1
0 0
1 0.8415
2 0.9093
3 0.1411
4 -0.7568
5 -0.9589
6 -0.2794
e
0 0
1 0.8415
2 0.9093
3 0.1411
4 -0.7568
5 -0.9589
6 -0.2794
e

Licensing

Public domain This work has been released into the public domain by its author, Berland. This applies worldwide.
In some countries this may not be legally possible; if so:
Berland grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Category:Self-published work#Interpolation%20example%20linear.svgCategory:PD-self#Interpolation%20example%20linear.svg Category:Interpolation
Category:Interpolation Category:PD-self Category:Self-published work