File:Poinsot2.svg

Original file(SVG file, nominally 319 × 314 pixels, file size: 19 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description
English: The Poinsot's spiral given by the parametric equation with .
Date
Source Own work
Author Krishnavedala
Other versions File:Poinsot2.PNG
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Source code
InfoField

Python code

Source code
from numpy import linspace, append
from math import sinh, sin, cos, pi
from matplotlib.pyplot import *
from mpl_toolkits.axes_grid.axislines import SubplotZero

fig = figure(figsize=(4,4))
ax = SubplotZero(fig,111)
fig.add_subplot(ax)
ax.grid(True)
ax.set_xticks([-2,-1,0,1,2])
ax.set_yticks([-1.5,-.5,.5,1.5,2.5])
ax.set_ylim(-1,2.75)
ax.set_xlim(-2,2)
for direction in ["xzero","yzero"]:
	ax.axis[direction].set_axisline_style("-|>")
	ax.axis[direction].set_visible(True)
for direction in ["left","right","bottom","top"]:
	ax.axis[direction].set_visible(False)

theta = linspace(-4*pi,4*pi,150)
X, Y = [],[]
for x in theta:
	X = append(X,cos(x)/sinh(x/3.))
	Y = append(Y,sin(x)/sinh(x/3.))
ax.plot(X,Y)

ax.text(2,0.1,r"x")
ax.text(-0.5,2.75,r"y")
#fig.show()
fig.savefig("Poinsot2.svg",bbox_inches="tight",\
	pad_inches=.15)

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

File history

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

Date/TimeThumbnailDimensionsUserComment
current12:52, 4 June 2011Thumbnail for version as of 12:52, 4 June 2011319 × 314 (19 KB)Krishnavedala (talk | contribs){{Information |Description ={{en|1=The Poinsot's spiral given by the parametric equation <math>r = \mathrm{csch}\left(\theta/3\right)</math> with <math>-4\pi\leq\theta\leq4\pi</math>. Created using [[:w:python (programming lan

The following page uses this file:

File usage on other wikis

The following other wikis use this file: