File:Atan2-discontinuity.svg
Summary
| Description |
English: Graph of the function , as θ ranges from 0 to 2π. Notice the discontinuity at θ = π. |
| Date | |
| Source |
Own work based on: Atan2.PNG: |
| Author | Kpengboy |
| SVG development | Category:Valid SVG created with Gnuplot#Atan2-discontinuity.svg |
Licensing
Kpengboy, the copyright holder of this work, hereby publishes it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Attribution:
- 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. |
You may select the license of your choice.
Gnuplot script
Some post processing done in Inkscape, specifically removal of the ugly nonexistent vertical line at θ = π and insertion of the blue circles.
# Output to svg
set terminal svg size 640 480
set output "Atan2-discontinuity.svg"
# Use lots of samples
set samples 1000
# Configure the graph
set xlabel "angle in radians"
set ylabel "angle in radians"
set key left top
set grid
# (Manually) set the tics so they say "pi/2", "pi", etc.
set xtics ("pi/2" pi/2, "pi" pi, "3pi/2" 3*pi/2, "2pi" 2*pi)
set ytics ("-2pi" -2*pi, "-pi" -pi, "-pi/2" -pi/2, "0" 0, "pi/2" pi/2, "pi" pi, "2pi" 2*pi)
# Plot
plot [0:2*pi][-2*pi:2*pi] atan2(sin(x), cos(x)) title "atan2"
Original upload log
This image is a derivative work of the following images:
- Atan2.PNG licensed with Cc-by-sa-3.0, GFDL
- 2009-02-05T16:56:20Z Adam majewski 640x480 (7575 Bytes) {{Information |Description={{en|1=Atan2 function}} |Source=Own work by uploader |Author=[[User:Adam majewski|Adam majewski]] |Date=2009.02.05 |Permission= |other_versions= }}
Uploaded with derivativeFX Category:Uploaded with derivativeFX
Category:Atan2 Category:Discontinuous functions Category:Images with Gnuplot source code
Category:Atan2
Category:CC-BY-SA-3.0
Category:Discontinuous functions
Category:GFDL
Category:Images with Gnuplot source code
Category:License migration redundant
Category:Self-published work
Category:Translation possible - SVG
Category:Uploaded with derivativeFX
Category:Valid SVG created with Gnuplot