File:Surface3D sinFoisSin python matplotlib.svg

Summary

Category:Files by User:cdang
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
SVG development
InfoField

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)Category:Images with Matplotlib source code
Here is a listing of the source used to create this file.

Deutsch  English  +/−

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

Cdang, the copyright holder of this work, hereby publishes 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.
Attribution:
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.
Category:CC-BY-SA-4.0#Surface3D%20sinFoisSin%20python%20matplotlib.svgCategory:Self-published work
Category:SVG surface plots
Category:CC-BY-SA-4.0 Category:Files by User:cdang Category:Images with Matplotlib source code Category:SVG surface plots Category:Self-published work Category:Valid SVG created with Matplotlib