File:CriticalFrequencyAliasing.svg
From Wikimedia Commons, the free media repository
CriticalFrequencyAliasing.svg (SVG file, nominally 600 × 480 pixels, file size: 22 KB)
[edit] Summary
| Description |
English: Plot of some sinusoids with the critical frequency (one half cycle per sample), all having samples alternating between +1 and -1 at integer values of t/T.
|
|---|---|
| Date |
1 July 2008 |
| Source |
Created from scratch with gnuplot, based on idea from original bitmap version |
| Author | |
| Permission (Reusing this image) |
See below. |
| Other versions |
|
[edit] Source code
Gnuplot input file:
set terminal svg font "Bitstream Vera Sans"
set output "CriticalFrequencyAliasing.svg"
set xrange [-3:3]
set yrange [-3:3]
set xzeroaxis linetype -1 linewidth 0.5
set yzeroaxis linetype -1 linewidth 0.5
set key off
set samples 300
plot f(x) = (1/cos(a)) * cos(pi*x+a), \
a=0, f(x), \
a=1, f(x), \
a=2, f(x)
plot "CriticalFrequencyAliasing.points" \
with points pointtype 7 linetype rgbcolor "black"
The 'CriticalFrequencyAliasing.points' file contains the following:
-3 -1 -2 1 -1 -1 0 1 1 -1 2 1 3 -1
Finally, after running Gnuplot I post-processed the image with 'sed' to tweak the axis labels, changing hyphens to real minus signs:
sed 's/<text>-/<text>\xE2\x88\x92/g' <input.svg >output.svg
[edit] Licensing
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:53, 1 July 2008 | 600×480 (22 KB) | Qef (Talk | contribs) | ({{Information |Description={{en|1=Plot of some sinusoids with the critical frequency (one half cycle per sample), all having samples alternating between +1 and -1 at integer values of t/T.}} |Source=Created from scratch with gnuplot, based on idea from or) |
- Edit this file using an external application (See the setup instructions for more information)
File links
The following page links to this file:
Global file usage
The following other wikis use this file:
- Usage of CriticalFrequencyAliasing.svg on enwiki