Image:Piecewise constant.png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

A vector version of this image (SVG) is available.
It should be used in place of this raster image when superior.


Image:Piecewise constant.png  Image:Piecewise_constant.svg

For more information about vector graphics, read about Commons transition to SVG.
There is also information about MediaWiki's support of SVG images.


Български | Deutsch | English | Español | Français | Galego | עברית | Magyar | Bahasa Indonesia | Italiano | 日本語 | 한국어 | Lietuvių | Polski | Português | Русский | Српски / Srpski | Українська | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/-

New SVG image

Contents

[edit] Summary

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

22 June 2007

Author

Berland

Permission
(Reusing this image)

see below


[edit] Gnuplot source code

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 

[edit] Datafiles

#pointssteps.txt
0 0
0.5 0
1.5 0.8415
2.5 0.9093
3.5 0.1411
4.5 -0.7568
5.5 -0.9589
6.0 -0.2794


#points.txt
0 0
1 0.8415
2 0.9093
3 0.1411
4 -0.7568
5 -0.9589
6 -0.2794


[edit] Licensing

Public domain I, Berland, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Български | Català | Česky | Cymraeg | Dansk | Deutsch | Eʋegbe | Ελληνικά | English | Español | Esperanto | Euskara | Estremeñu | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Kurdî / كوردی | Latina | Lietuvių | Latviešu | Magyar | Македонски | Bahasa Melayu | Nederlands | ‪Norsk (bokmål)‬ | ‪Norsk (nynorsk)‬ | 日本語 | Polski | Português | Ripoarisch | Română | Русский | Shqip | Slovenčina | Slovenščina | Српски / Srpski | Svenska | ไทย | Tagalog | Türkçe | Українська | Tiếng Việt | Walon | ‪中文(简体)‬ | ‪中文(繁體)‬ | zh-yue-hant | +/-

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current15:39, 23 June 2007249×257 (1 KB)Berland (== 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)
18:51, 22 June 2007249×257 (2 KB)Berland ({{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=22 June 2007 )
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):