Jump to content

File:Piecewise constant.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (SVG file, nominally 600 × 480 pixels, file size: 5 KB)
    Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

    Summary

    Description Illustration of constant interpolation, more precisely en:Nearest neighbor interpolation on the same dataset as listed in Interpolation.
    Date
    Source self-made in Gnuplot
    Author Berland

    Gnuplot source code

    set terminal svg fname "Vera" fsize 25
    set output "Piecewise_constant.svg"
    set key off
    set xzeroaxis
    set xtics axis 1,1
    set ytics nomirror 1
    set border 2
    set yrange [-1.1:1.1]
    plot "-" with lines linetype 3 linewidth 4, \
         "-" with lines linetype 3 linewidth 4, \
         "-" with lines linetype 3 linewidth 4, \
         "-" with lines linetype 3 linewidth 4, \
         "-" with lines linetype 3 linewidth 4, \
         "-" with lines linetype 3 linewidth 4, \
         "-" with lines linetype 3 linewidth 4, \
         "-" with points linetype 1 pointtype 7 pointsize 1, \
         0 with lines -1
    0 0
    0.5 0
    e
    0.5 0.8415
    1.5 0.8415
    e
    1.5 0.9093
    2.5 0.9093
    e
    2.5 0.1411
    3.5 0.1411
    e
    3.5 -0.7568
    4.5 -0.7568
    e
    4.5 -0.9589
    5.5 -0.9589
    e
    5.5 -0.2794
    6.0 -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.

    This version replaces the version of User:Cronholm144, this version has some style changes, and don't have dashed vertical lines.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    23 June 2007

    image/svg+xml

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current08:31, 16 October 2025Thumbnail for version as of 08:31, 16 October 2025600 × 480 (5 KB)Василий МеленчукFixed namespace issue
    16:00, 23 June 2007Thumbnail for version as of 16:00, 23 June 2007600 × 480 (5 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 |Dat
    15:55, 23 June 2007Thumbnail for version as of 15:55, 23 June 2007429 × 425 (16 KB)Cronholm144made svg

    Global file usage

    The following other wikis use this file:

    Metadata