File:Nodary.svg
Original file (SVG file, nominally 450 × 270 pixels, file size: 22 KB)
Captions
Summary
[edit]DescriptionNodary.svg |
English: Plot of the nodary curve, the roulette of a hyperbola along the x-axis. |
Date | |
Source | Own work |
Author | Nicoguaro |
Creation
[edit]The parameterization used was
with where and are parameters.
This file was created with Python,NumPy and Matplotlib.
from __future__ import division
import matplotlib.pyplot as plt
import numpy as np
from scipy.integrate import quad
plt.rcParams["axes.spines.top"] = False
plt.rcParams["axes.spines.right"] = False
def fun(alpha, beta):
return np.sin(alpha)**2/np.sqrt(np.sin(alpha)**2 + beta)
a = 1.
b = 0.8
beta = a**2/b**2
u = np.linspace(0, 9*np.pi, 500)
integral = np.array([quad(fun, 0, uval, args=(beta,))
for uval in u])
x = integral[:, 0]
x = a*(1 - np.cos(u) + x)
y = a*(np.sin(u) + np.sqrt(np.sin(u)**2 + beta))
plt.figure(figsize=(5, 3))
plt.plot(x, y, lw=2)
plt.ylim([0, 3.0])
plt.savefig("Nodary.svg", transparent=True)
plt.show()
Licensing
[edit]- 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:04, 12 April 2018 | 450 × 270 (22 KB) | Nicoguaro (talk | contribs) | Remove parts of the curve outside. | |
02:29, 15 February 2016 | 900 × 450 (23 KB) | Nicoguaro (talk | contribs) | Remove background | ||
02:16, 15 February 2016 | 741 × 404 (23 KB) | Nicoguaro (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 360pt |
---|---|
Height | 216pt |