File:Lanczos-windows.svg

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.
Category:Unspec SVG created with Gnuplot#00100324Lanczos-windows.svg
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.
Category:Self-published work#Lanczos-windows.svgCategory:PD-self#Lanczos-windows.svg
Category:Self-published work

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.
Category:Self-published work#Lanczos-windows.svgCategory:PD-self#Lanczos-windows.svg Category:Window function Category:Lanczos filters Category:Images with Gnuplot source code
Category:Images with Gnuplot source code Category:Lanczos filters Category:PD-self Category:Self-published work Category:Unspec SVG created with Gnuplot Category:Window function