File:Unduloid.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 575 × 449 pixels. Other resolutions: 307 × 240 pixels | 615 × 480 pixels | 984 × 768 pixels | 1,280 × 1,000 pixels | 2,560 × 1,999 pixels.
Original file (SVG file, nominally 575 × 449 pixels, file size: 773 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionUnduloid.svg |
English: Plot of the unduloid constant mean curvature surface, generated by rotating an elliptic catenary around the x-axis.
Español: Gráfico del unduloide. Esta superficie tiene curvature media constante y es generada a partir de rotar una catenaria elíptica alrededor del eje x.
Türkçe: Sabit ortalama egri yuzeyli unduloid grafigi. Eliptik bir zincir egrisinin x ekseni etrafinda dondurulmesiyle elde edilmistir. |
Date | |
Source | Own work |
Author | Nicoguaro |
Creation InfoField | The parameterization used was
where and are parameters. For the plot and . This file was created with Python,NumPy and Matplotlib. |
SVG development InfoField | This plot was created with Matplotlib. |
Source code InfoField | Python codefrom __future__ import division
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
from scipy.integrate import quad
def fun(alpha, a, b):
return np.sqrt(a**2*np.sin(alpha)**2 + b**np.cos(alpha)**2)
a = 1.7
b = 1.2
u = np.linspace(0, 20, 100)
v = np.linspace(0, 2*np.pi, 30)
integral = np.array([quad(fun, 0, uval, args=(a, b))
for uval in u])
xu = integral[:, 0]
xu = xu + np.sqrt(a**2 - b**2)*np.sin(u)*(np.sqrt(a**2 - b**2)*np.cos(u) + a)/\
fun(u, a, b)
yu = b*(np.sqrt(a**2 - b**2)*np.cos(u) + a)/fun(u, a, b)
x = np.outer(xu, np.ones_like(v))
y = np.outer(yu, np.cos(v))
z = np.outer(yu, np.sin(v))
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.plot_surface(x, y, z, rstride=1, cstride=1, cmap="summer", alpha=0.6,
lw=0.4)
ax.view_init(azim=-60, elev=30)
ax.set_xlim([0, 35])
ax.set_ylim([-10, 10])
ax.set_zlim([-10, 10])
plt.savefig("Unduloid.svg", bbox_inches="tight", transparent=True)
plt.show()
|
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution 4.0 International 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.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 00:47, 16 February 2016 | 575 × 449 (773 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
- Usage on fr.wikipedia.org
- Usage on it.wikipedia.org
- Usage on ru.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 | 460pt |
---|---|
Height | 359pt |