Image:Interpolation example spline.png
From Wikipedia, the free encyclopedia

No higher resolution available.
Interpolation_example_spline.png (252 × 261 pixels, file size: 2 KB, MIME type: image/png)
| A vector version of this image is also available, and should be used in place of this raster image whenever possible. Note: this file will not be deleted for this reason, unless it is explicitly nominated for deletion. Deleting this image might break the “attribution path” for the new SVG image, which breaks licenses such as the GFDL. For more information about vector graphics, see the articles on vector and raster graphics. There is also information about MediaWiki's support of SVG images. |
This plot illustrates spline interpolation. It was produced by running gnuplot on the following file
set terminal png font "/usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf" size 300,300 crop
set output "Interpolation_example_spline.png"
set key off
set xzeroaxis
set xtics axis 1,1
set ytics nomirror 1
set border 2
f(x) = (x >= 0 && x < 1) ? -0.1522*x**3 + 0.9937*x : \
(x >= 1 && x < 2) ? -0.01258*x**3 - 0.4189*x**2 + 1.4126*x - 0.1396 : \
(x >= 2 && x < 3) ? 0.1403*x**3 - 1.3359*x**2 + 3.2467*x - 1.3623 : \
(x >= 3 && x < 4) ? 0.1579*x**3 - 1.4945*x**2 + 3.7225*x - 1.8381 : \
(x >= 4 && x < 5) ? 0.05375*x**3 -0.2450*x**2 - 1.2756*x + 4.8259 : \
-0.1871*x**3 + 3.3673*x**2 - 19.3370*x + 34.9282
set yrange [-1.1:1.1]
plot f(x) with lines linetype 3 linewidth 4, \
"-" with points linetype 1 pointtype 7 pointsize 1.5, \
0 with lines -1
0 0
1 0.8415
2 0.9093
3 0.1411
4 -0.7568
5 -0.9589
6 -0.2794
e
| This file has been released into the public domain by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide. | ||||
|
||||
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment | |
|---|---|---|---|---|
| current | 20:46, 5 July 2004 | 252×261 (2 KB) | Jitse Niesen (Talk | contribs) | (plot illustrating spline interpolation) |
- Search for duplicate files
- Edit this file using an external application
See the setup instructions for more information.
File links
No pages on the English Wikipedia link to this file. (Pages on other projects are not counted.)

