网页
综合
更新时间 2026-11-13 22:05:00
Plot types — Matplotlib 3.11.2 documentation
自动蜘蛛
matplotlib.org
正文约 1488 字
Overview of many common plotting commands provided by Matplotlib.
See the gallery for more examples and the tutorials page for longer examples.
Plots of pairwise \((x, y)\), tabular \((var\_0, \cdots, var\_n)\), and functional \(f(x)=y\) data.
fill_between(x, y1, y2)
Plots of the distribution of at least one variable in a dataset. Some of these methods also compute the distributions.
errorbar(x, y, yerr, xerr)
Plots of arrays and images \(Z_{i, j}\) and fields \(U_{i, j}, V_{i, j}\) on regular grids and corresponding coordinate grids \(X_{i,j}, Y_{i,j}\).
streamplot(X, Y, U, V)
Plots of data \(Z_{x, y}\) on unstructured grids , unstructured coordinate grids \((x, y)\), and 2D functions \(f(x, y) = z\).
tricontourf(x, y, z)
Plots of three-dimensional \((x,y,z)\), surface \(f(x,y)=z\), and volumetric \(V_{x, y, z}\) data using the mpl_toolkits.mplot3d library.
bar3d(x, y, z, dx, dy, dz)
fill_between(x1, y1, z1, x2, y2, z2)
quiver(X, Y, Z, U, V, W)
plot_surface(X, Y, Z)
plot_trisurf(x, y, z)
voxels([x, y, z], filled)
plot_wireframe(X, Y, Z)
Download all examples in Python source code: plot_types_python.zip
Download all examples in Jupyter notebooks: plot_types_jupyter.zip
Gallery generated by Sphinx-Gallery
© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2026 The Matplotlib development team.
Created using Sphinx 9.1.0.
Built from v3.11.2-1-g879ad8ebba.
Built with the PyData Sphinx Theme 0.16.1.
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。