File:Surface normals.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: 237 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionSurface normals.svg |
English: Normal vectors for the surface .
Español: Vectores normales a la superficie . |
Date | |
Source | Own work |
Author | Nicoguaro |
SVG development InfoField | This plot was created with Matplotlib. |
Source code InfoField | Python codeimport numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
x, y = np.mgrid[-1:1:31j, -1:1:31j]
xs, ys = np.mgrid[-1:1:9j, -1:1:9j]
z = x*np.exp(-x**2 - y**2)
zs = xs*np.exp(-xs**2 - ys**2)
u = -(1 - 2*xs**2)*np.exp(-xs**2 - ys**2)
v = 2*ys*zs
w = np.ones_like(xs)
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.view_init(azim=145, elev=45)
ax.plot_surface(x, y, z, rstride=1, cstride=1, cmap="summer", lw=0.3,
edgecolors="k")
ax.quiver(xs, ys, zs, u, v, w, colors='k', pivot='tail', length=0.3)
plt.axis("off")
plt.savefig("Surface normals.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 | 01:16, 12 February 2016 | 575 × 449 (237 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 ast.wikipedia.org
- Usage on bg.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on de.wikipedia.org
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on es.wikibooks.org
- Usage on hr.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on ro.wikipedia.org
- Usage on sh.wikipedia.org
- Usage on zh.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 |