Ctrl+K
Logo image Logo image
  • Plot types
  • Examples
  • Tutorials
  • Reference
  • User guide
  • Develop
  • Release notes
  • Plot types
  • Examples
  • Tutorials
  • Reference
  • User guide
  • Develop
  • Release notes

Section Navigation

  • Basic
    • plot(x, y)
    • scatter(x, y)
    • bar(x, height)
    • stem(x, y)
    • step(x, y)
    • fill_between(x, y1, y2)
    • stackplot(x, y)
  • Plots of arrays and fields
  • Statistics plots
  • Unstructured coordinates

Basic#

Basic plot types, usually y versus x.

plot(x, y)

plot(x, y)

plot(x, y)
scatter(x, y)

scatter(x, y)

scatter(x, y)
bar(x, height)

bar(x, height)

bar(x, height)
stem(x, y)

stem(x, y)

stem(x, y)
step(x, y)

step(x, y)

step(x, y)
fill_between(x, y1, y2)

fill_between(x, y1, y2)

fill_between(x, y1, y2)
stackplot(x, y)

stackplot(x, y)

stackplot(x, y)

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

Created using Sphinx 5.2.3.