Skip to content
This repository was archived by the owner on May 21, 2020. It is now read-only.
Florian Rappl edited this page Dec 21, 2014 · 2 revisions

plot3

The plot3 function displays a three-dimensional plot of a set of data points.

plot3(X,Y,Z)

Draws a set of points where X1, Y1, Z1 are vectors or matrices. Each set of coordinates for the i-th point is defined by the i-th value of X, Y and Z.

Argument X

Matrix

Argument Y

Matrix

Argument Z

Matrix

Returns 1. entry

Plot3D

Example

t = 0:pi/50:10*pi; plot3(sin(t), cos(t), t)

Plots a three-dimensional helix, i.e. a spring with uniform radius.

Clone this wiki locally