Skip to content

area

Area plot — line plot with filled area below.

h = area(y, ...)
h = area(x, y, ...)

Plots y vs x and fills the area between the line and the baseline. With matrix y, stacks areas vertically.

area(t, exp(-t/2))
  • area3 — 3D area plot.
  • fill — Filled 2D polygon.
  • plot — 2D line / marker plot.