File:Lanczos-windows.svg

From WikiProjectMed
Jump to navigation Jump to search

Original file(SVG file, nominally 300 × 200 pixels, file size: 7 KB)

This file is from a shared repository and may be used by other projects. The description on its file description page there is shown below.

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 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.

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

File history

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

Date/TimeThumbnailDimensionsUserComment
current04:43, 10 May 2011Thumbnail for version as of 04:43, 10 May 2011300 × 200 (7 KB)commons>KxxRegenerated from source using GNUPLOT 4.2.6 Simplified using Inkscape 0.48

There are no pages that use this file.

Metadata