File:Champ vecteurs python matplotlib.svg
Summary
Description |
Français : Champ de vecteur tracé par Python/Matplotlib.
English: Vector filed plotted by Python/Matplotlib. |
Date | |
Source | Own work |
Author | Cdang |
import numpy as np
import matplotlib.pyplot as plt
base = np.arange(10)
x, y = np.meshgrid(base, base)
ux = -0.1*y
uy = 0.1*x
plt.quiver(x, y, ux, uy, scale_units="xy", scale = 1, angles="xy")
plt.savefig("champ_vecteurs_python_matplotlib.svg", format="svg")
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
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.