Jump to content

File:Matplotlib 3d v.svg

From Wikimedia Commons, the free media repository
Original file (SVG file, nominally 720 × 540 pixels, file size: 282 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: 3D plot with matplotlib.
Date
Source Own work based on: Matplotlib 3d.png
Author IkamusumeFan
SVG development
InfoField
 The SVG code is valid.
 This plot was created with Matplotlib.
A raster version of this image is available. It should be used in place of this vector image because of its superior quality.
File:Matplotlib 3d v.svgFile:Matplotlib 3d.png

In general, it is better to use a good SVG version.


Bitmap image

Source code

The logo of Matplotlib – comprehensive library for creating static, animated, and interactive visualizations in Python
The logo of Matplotlib – comprehensive library for creating static, animated, and interactive visualizations in Python
This media was created with Matplotlib (comprehensive library for creating static, animated, and interactive visualizations in Python)
Here is a listing of the source used to create this file.

Deutsch  English  +/−

#!/usr/bin/env python
 
"""This generates the graph of the function f(x, y) = sin(sqrt(x^2 + y^2))."""
# Author: Ika. 2015-08-08
from matplotlib import cm
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np

fig = plt.figure()
ax = fig.gca(projection='3d')
X = np.arange(-5, 5, 0.25)
Y = np.arange(-5, 5, 0.25)
X, Y = np.meshgrid(X, Y)
R = np.sqrt(X*X + Y*Y)
Z = np.sin(R)
surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap=cm.coolwarm)

plt.savefig("matplotlib_3d.svg")

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 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.
  • 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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:51, 8 August 2015Thumbnail for version as of 05:51, 8 August 2015720 × 540 (282 KB)IkamusumeFan (talk | contribs)User created page with UploadWizard

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata