File:Surface3D sinFoisSin python matplotlib.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
Source: Wikipedia, the free encyclopedia.

Original file(SVG file, nominally 540 × 360 pixels, file size: 96 KB)

Summary

Description
Français : Surface z = sin(x) × sin(y) tracée avec Python/Matplotlib.
English: Surface z = sin(x) × sin(y) plotted with Python/Matplotlib.
Date
Source Own work
Author Cdang
 
This plot was created with Matplotlib.
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D # permet d'utiliser l'attribut projection="3d"

x = np.linspace(0, 2*np.pi, 20)
y = x.copy()
X, Y = np.meshgrid(x, y)

Z = np.sin(X)*np.sin(Y)

plt.figure()
ax = plt.axes(projection="3d")

ax.contour(X, Y, Z, zdir="z", offset=-1)
ax.plot_surface(X, Y, Z, alpha=0.8)

plt.savefig("surface3D_sinFoisSin_python_matplotlib.svg", format="svg")

Licensing

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.

Captions

Surface ''z'' = sin(''x'') × sin(''y'') plotted with Python/Matplotlib.

Items portrayed in this file

depicts

5 April 2019

File history

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

Date/TimeThumbnailDimensionsUserComment
current17:25, 5 April 2019Thumbnail for version as of 17:25, 5 April 2019540 × 360 (96 KB)CdangUser created page with UploadWizard
No pages on the English Wikipedia use this file (pages on other projects are not listed).

Global file usage

The following other wikis use this file:

Metadata