File:Lanczos-windows.svg

Uploaded by Kxx
Upload date 2011-05-10T04:43:15Z
MIME type image/svg+xml
Dimensions 300 × 200 px
File size 7.1 KB

Summary

Description
English: Lanczos windows for 3 different scales: 1, 2, and 3.
Date
Source

Self-made in gnuplot.

 This W3C-unspecified plot was created with Gnuplot.
Author Nils R. Barth
Permission
(Reusing this file)
Nils R. Barth, the copyright holder of this work, hereby publishes it under the following license:
Public domain This work has been released into the public domain by its author, Nils R. Barth. This applies worldwide.
In some countries this may not be legally possible; if so:
Nils R. Barth grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

gnuplot source

# Graphs of Lanczos window
# Central lobe of normalized sinc, scaled to different widths

# Set terminal
set terminal svg enhanced size 300 200 fs 10
set samples 1001  # high quality
set border 31 linewidth .3 # thin border

set output "lanczos-windows.svg"

# Ranges
set xrange [-3:3] # Widest window is -3 to 3
set xtics .5      # Accords with existing graphs, provides scale
set yrange [-.1:1.1] # Slight headroom from max of 1
set ytics .2      # Accords with existing graphs

# Zero axes as guidelines, no key (self-explanatory)
set zeroaxis
unset key

###########################
# Define and plot function
###########################

sinc(x) = sin(pi*x)/(pi*x) # Normalized sinc

set parametric # Parametric to provide alt ranges
plot [t=-1:1]   t, sinc(t), \
              2*t, sinc(t), \
              3*t, sinc(t)

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant 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

Items portrayed in this file

depicts

14 April 2009