Documentation

ezplot3

3-D parametric curve plotter

Syntax

ezplot3(x,y,z)
ezplot3(x,y,z,[tmin,tmax])
ezplot3(...,'animate')

Description

ezplot3(x,y,z) plots the spatial curve x = x(t), y = y(t), and z = z(t) over the default domain 0 < t < 2π.

ezplot3(x,y,z,[tmin,tmax]) plots the curve x = x(t), y = y(t), and z = z(t) over the domain tmin < t < tmax.

ezplot3(...,'animate') produces an animated trace of the spatial curve.

Examples

Plot the parametric curve x = sin(t), y = cos(t), z = t over the domain [0, 6π].

syms t
ezplot3(sin(t), cos(t), t,[0,6*pi])

Was this topic helpful?