File:Atan2-discontinuity.svg

From formulasearchengine
Jump to navigation Jump to search

Original file(SVG file, nominally 640 × 480 pixels, file size: 20 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.

Description Graph of the function , as θ ranges from 0 to 2π. Notice the discontinuity at θ = π.
Date (UTC)
Source
Author
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.

Gnuplot script

 # 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"

Some post processing done in Inkscape, specifically removal of the ugly nonexistent vertical line at θ = π and insertion of the blue circles.

Original upload log

This image is a derivative work of the following images:

  • File: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

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/svg+xml

ed2b8df81e45c79cd98cf9ffd764dbb92fe01f6c

20,239 byte

480 pixel

640 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:09, 19 May 2010Thumbnail for version as of 08:09, 19 May 2010640 × 480 (20 KB)wikimediacommons>KpengboyMade the upper circle at π filled in, because atan2 is defined there

There are no pages that use this file.