Quaternion Function Reference

scatter4

4D scatter plot from quaternion array.

Syntax

scatter4(q, varargin)

Description

scatter4 plots six 2D scatter plots of elements in a quaternion vector. It supports the same parameter profiles as the similarly named MATLAB® functions, except that the first three parameters (X, Y, Z) are replaced by a single quaternion parameter.

Examples

>> scatter4(zeros(1,128), randv(1,128))

results in the creation of the following plot.

See Also

QTFM function: scatter3
MATLAB® function: scatter3

© 2008-2013 Stephen J. Sangwine and Nicolas Le Bihan

License terms.