File:Topologist's sine curve.svg

Summary

Description
English: Topologist's sine curve
Date
Source Own work
Author Morn the Gorn
SVG development
InfoField
Source code
InfoField

Python code

from pylab import *
rc("xtick.major", pad = 8)

x = [.0002]

while x[-1] < .2:
	o = .1 * x[-1]**2
	x.append(x[-1] + o)

y = sin(1./array(x))

figure(figsize = (7, 5))
plot(x, y, lw = 1.2)
xlim(0, .2)

savefig("Topologist's sine curve.svg")

show()

Licensing

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.
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.
This licensing tag was added to this file as part of the GFDL licensing update.
Category:CC-BY-SA-3.0-migrated#Topologist's%20sine%20curve.svgCategory:License migration completed#Topologist's%20sine%20curve.svgCategory:GFDL#Topologist's%20sine%20curve.svg Category:SVG trigonometric functions Category:Topologist's sine curve Category:Images with Python source code
Category:CC-BY-SA-3.0-migrated Category:GFDL Category:Images with Python source code Category:License migration completed Category:SVG trigonometric functions Category:Topologist's sine curve Category:Valid SVG created with Matplotlib code