Original file(SVG file, nominally 600 × 432 pixels, file size: 7 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description A range of different kernels
Date 02.12.2008
Source Own work
Author Brian Amberg
Other versions
SVG development
InfoField
 
The source code of this SVG is invalid due to 9 errors.
 
This W3C-invalid vector image was created with Python.
 
 This file uses embedded text that can be easily translated using a text editor.
Source code
InfoField

Python code

set terminal svg
set output "kernels.svg"

delta(x) = x ? 1 : 0;
sqr(x) = x*x;
cub(x) = x*x*x;

set samples 5000
plot [u=-1.2:1.2] [0:1.2] \
  0.5*delta(abs(u)<1)                         title "Uniform", \
  (1.0-abs(u))*delta(abs(u)<1.0)              title "Triangle", \
  3.0/4.0*(1.0-sqr(u))*delta(abs(u)<1.0)      title "Epanechnikov", \
  15.0/16.0*sqr(1.0-sqr(u))*delta(abs(u)<1.0) title "Quartic", \
  35.0/32.0*cub(1.0-sqr(u))*delta(abs(u)<1.0) title "Triweight", \
  1.0/sqrt(2.0*pi)*exp(-0.5*sqr(u))           title "Gaussian", \
  pi/4.0*cos(pi/2.0*u)*delta(abs(u)<1.0)      title "Cosine";

Licensing edit

I, the copyright holder of this work, hereby publish it under the following licenses:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

File history

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

Date/TimeThumbnailDimensionsUserComment
current06:20, 15 May 2012Thumbnail for version as of 06:20, 15 May 2012600 × 432 (7 KB)Aflafla1 (talk | contribs)uploader seemed to have problems with last version - change font
05:53, 15 May 2012Thumbnail for version as of 05:53, 15 May 2012600 × 432 (7 KB)Aflafla1 (talk | contribs)Fatter lines, more varied colors
18:54, 2 December 2008Thumbnail for version as of 18:54, 2 December 2008600 × 480 (462 KB)Rubybrian (talk | contribs)== Summary == {{Information |Description=A range of different kernels |Source=self-made |Date=02.12.2008 |Author= Brian Amberg |other_versions= }} == Licensing: == {{self|cc-by-sa-3.0|GFDL}} {{Uncategorized|year=2008|month=Dece

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata