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(randvmf(randq, 10, 1e3, 1), 'r')

results in the creation of the following plot.

See Also

MATLAB® function: scatter3
QTFM functions: scatter3, scatter4p3

(c) 2008-2016 Stephen J. Sangwine and Nicolas Le Bihan

License terms.