File:Butterworth response.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file (SVG file, nominally 512 × 384 pixels, file size: 42 KB)

Render this image in .

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: This is the SVG version of the PNG image created by Omegatron.

I simply changed the terminal type from PostScript to SVG in the gnuplot script file.

The frequency response of a Butterworth filter with logarithmic axes (Bode plot) and various labels. Cutoff frequency is normalized to 1 rad/s. Gain is normalized to 0 dB in the passband.

This is a retouched picture, which means that it has been digitally altered from its original version. Modifications: Converted to vector graphics. The original can be viewed here: Butterworth response.png. Modifications made by Krishnavedala.

Translate this file This SVG file contains embedded text that can be translated into your language, using any capable SVG editor, text editor or the SVG Translate tool. For more information see: About translating SVG files.
 
This W3C-unspecified plot was created with Gnuplot.
Date (UTC)
Source
Author
Other versions
gnuplot source
InfoField
click to expand
set samples 2001
# set terminal postscript enhanced landscape color lw 2 "Times-Roman" 20
set terminal svg size 800 600 dynamic enhanced
set output "butterworth.svg"

# Butterworth amplitude response and decibel calculation.  n is the order, which is just 1 in this image.
G(w,n) = 1 / (sqrt(1 + w**(2*n)))
dB(x) = 20 * log10(abs(x))

# Gridlines
set grid

# Set x axis to logarithmic scale
set logscale x 10

# Set range of x and y axes
set xrange [0.001:1000]
set yrange [-60:10]

# Create x-axis tic marks once per decade (every multiple of 10)
set xtics 10

# Use 10 x-axis minor divisions per major division
set mxtics 10

# Axis labels
set xlabel "Angular frequency (rad/s)"
set ylabel "Gain (dB)"

# No need for a key
set nokey #0.1,-25

# Frequency response's line plotting style
set style line 1 lt 1 lw 2

# Draw a separator between passband and stopband and label them
set style line 2 lt 2 lw 1 
set style arrow 2 nohead ls 2
set arrow 3 from 1,-60 to 1,10 as 2

# Label coordinates are relative to the graph window, not to the function, centered at the 1/4 and 3/4 width points
set label 1 "Passband" at graph 0.25, graph 0.1 c
set label 2 "Stopband" at graph 0.75, graph 0.1 c

# Asymptote lines and slope lines are the same "arrow" style
set style line 3 lt 3 lw 1
set style arrow 3 nohead ls 3

# Draw asymptote lines
set arrow 1 from 1,0 to 1000,-60 as 3
set arrow 2 from .001,0 to 1,0 as 3

# -3 dB arrow style and arrow
set style line 4 lt 4 lw 1
set style arrow 4 head filled size screen 0.02,15,45 ls 4
set arrow 4 from 2,3 to 1,0 as 4

# "Cutoff frequency" label uses same coordinates as the function
set label 3 "Cutoff frequency" at 2,4 l

# "-3 dB" label
set arrow 5 from 0.5,-6 to 1,-3 as 4   
set label 4 "-3.01 dB" at 0.5,-7 r

# Draw slope lines and label
set arrow 6 from 100,-20 to 12,-20 as 3
set arrow 7 from 100,-20 to 100,-39 as 3
set label 5 "Slope: -20 dB/decade" at 100,-18 c

# Plot the filter response
plot 
     dB(G(x,1)) ls 1  title "1st-order response"

unset output      # cleanup the handle

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

Original upload log

[edit]

This image is a derivative work of the following images:

  • Image:Butterworth_response.png licensed with Cc-by-sa-3.0,2.5,2.0,1.0, GFDL
    • 2005-07-23T17:45:55Z Omegatron 1240x880 (87607 Bytes) split the cutoff frequency markers
    • 2005-07-23T16:31:54Z Omegatron 1250x880 (94570 Bytes) Better butterworth filter response curve
    • 2005-06-26T19:54:33Z Omegatron 250x220 (2251 Bytes) A graph or diagram made by [[User:Omegatron]]. (Uploaded with Wikimedia Commons.) Source: Created by [[User:Omegatron]] {{GFDL}}{{cc-by-sa-2.0}} [[Category:Diagrams]]\

Uploaded with derivativeFX

File history

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

Date/TimeThumbnailDimensionsUserComment
current14:41, 21 July 2024Thumbnail for version as of 14:41, 21 July 2024512 × 384 (42 KB)Olexa Riznyk (talk | contribs)File uploaded using svgtranslate tool (https://svgtranslate.toolforge.org/). Added translation for uk.
09:50, 25 April 2013Thumbnail for version as of 09:50, 25 April 2013512 × 384 (41 KB)Incnis Mrsi (talk | contribs)dehyphenation
23:17, 4 July 2008Thumbnail for version as of 23:17, 4 July 2008512 × 384 (41 KB)Krishnavedala (talk | contribs){{Information |Description=This is the en:SVG version of the en:PNG image created by en:User:Omegatron. I simply changed the terminal type from en:postscript to SVG in the en:GNUplot script file. The [[w:frequency response|frequency

File usage on other wikis

The following other wikis use this file:

Metadata