File:Sinc function (both).svg
From testwiki
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 800 × 600 pixels. Other resolutions: 320 × 240 pixels | 640 × 480 pixels | 1,024 × 768 pixels | 1,280 × 960 pixels | 2,560 × 1,920 pixels | 1,300 × 975 pixels.
Original file (SVG file, nominally 1,300 × 975 pixels, file size: 42 KB)
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionSinc function (both).svg |
English: Graph of both the normalized (sin(πx)/(πx)) and unnormalized (sin(x)/x) definitions of the sinc function.
These are on the same scale. The second axis is just to clarify that the zero crossings occur on multiples of pi instead of integers. Sinc Function -- from Wolfram MathWorld. mathworld.wolfram.com. Retrieved on 2025-12-13.Instructions |
| Date | |
| Source | Own work |
| Author | Omegatron |
| Other versions |
|
| SVG development InfoField |
Source code
# Set 1300×975 SVG output and filename
# The font size (fsize) sets the size for the circles, too.
set samples 400
set terminal svg enhanced size 1300 975 fname "Times" fsize 36
set output "sinc function (both).svg"
# Set y axis limits so the plot doesn't go right to the edges of the graph
set yrange [-0.3:1.1]
set xrange [-6*pi:6*pi]
set lmargin 5
set bmargin -10
# No legend needed
#set nokey
# Add lightly-colored axis lines
set yzeroaxis
set xzeroaxis
# Put a y-axis tic at every 0.2
set ytics 0.2
set mytics 4
# Put an x-axis tic at every integer
set xtics 5
set format x "%2.0f"
set mxtics 5
# Put a second x-axis tic at every multiple of 2*pi
set x2tics 2*pi
set format x2 "%2.0f"
set mx2tics 2
set grid x x2 y
set xtics nomirror
# Format tics as digit with one decimal place
set format y "%2.1f"
# Plot as lines
plot sin(x)/x with lines, sin(pi*x)/(pi*x) with lines
# Close the file (so I don't have to close gnuplot to view it)
set output
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic 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.
| 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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
You may select the license of your choice.
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
3 June 2006
image/svg+xml
42,792 byte
38e652d7c451759bd7c5f3525f71fa73338035f2
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 18:12, 24 March 2020 | 1,300 × 975 (42 KB) | wikimediacommons>AkanoToE | Italicized variables |
File usage
The following page uses this file: