4D scatter plot from quaternion array.
scatter4(q, varargin)
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.
>> scatter4(zeros(1,128), randv(1,128))
results in the creation of the following plot.