Previous Up Next

19.4.3  Graphing the area under a curve

The plotarea or areaplot command draws the area below a graph.

Examples

plotarea(sin(x),x=0..2*pi)
plotarea(x^2,x=0..1,5,trapezoid)
plotarea((x^2,x=0..1,5,middle_point)

Previous Up Next