ProxySite
Skip to main content
Ctrl+K
This is documentation for an unstable development version.Switch to stable version
Matplotlib 3.11.0.dev1794+g30c8b8c9c documentation - Home Matplotlib 3.11.0.dev1794+g30c8b8c9c documentation - Home
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
3.10 (stable)3.11 (dev)3.93.83.73.63.53.43.32.2
  • Gitter
  • Discourse
  • GitHub
  • Plot types
  • User guide
  • Tutorials
  • Examples
  • Reference
  • Contribute
  • Releases
3.10 (stable)3.11 (dev)3.93.83.73.63.53.43.32.2
  • Gitter
  • Discourse
  • GitHub

Section Navigation

  • Pairwise data
    • plot(x, y)
    • scatter(x, y)
    • bar(x, height)
    • stem(x, y)
    • fill_between(x, y1, y2)
    • stackplot(x, y)
    • stairs(values)
  • Statistical distributions
    • hist(x)
    • boxplot(X)
    • errorbar(x, y, yerr, xerr)
    • violinplot(D)
    • eventplot(D)
    • hist2d(x, y)
    • hexbin(x, y, C)
    • pie(x)
    • ecdf(x)
  • Gridded data
    • imshow(Z)
    • pcolormesh(X, Y, Z)
    • contour(X, Y, Z)
    • contourf(X, Y, Z)
    • barbs(X, Y, U, V)
    • quiver(X, Y, U, V)
    • streamplot(X, Y, U, V)
  • Irregularly gridded data
    • tricontour(x, y, z)
    • tricontourf(x, y, z)
    • tripcolor(x, y, z)
    • triplot(x, y)
  • 3D and volumetric data
    • bar3d(x, y, z, dx, dy, dz)
    • fill_between(x1, y1, z1, x2, y2, z2)
    • plot(xs, ys, zs)
    • quiver(X, Y, Z, U, V, W)
    • scatter(xs, ys, zs)
    • stem(x, y, z)
    • plot_surface(X, Y, Z)
    • plot_trisurf(x, y, z)
    • voxels([x, y, z], filled)
    • plot_wireframe(X, Y, Z)
  • Plot types
  • Gridded data

Gridded data#

Plots of arrays and images 𝑍𝑖,𝑗 and fields 𝑈𝑖,𝑗,𝑉𝑖,𝑗 on regular grids and corresponding coordinate grids 𝑋𝑖,𝑗,𝑌𝑖,𝑗.

imshow(Z)

imshow(Z)

pcolormesh(X, Y, Z)

pcolormesh(X, Y, Z)

contour(X, Y, Z)

contour(X, Y, Z)

contourf(X, Y, Z)

contourf(X, Y, Z)

barbs(X, Y, U, V)

barbs(X, Y, U, V)

quiver(X, Y, U, V)

quiver(X, Y, U, V)

streamplot(X, Y, U, V)

streamplot(X, Y, U, V)

© Copyright 2002–2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012–2025 The Matplotlib development team.

Created using Sphinx 9.1.0.

Built from v3.10.8-1794-g30c8b8c9c.

Built with the PyData Sphinx Theme 0.16.1.