1 %>@ingroup graphicsapi maths
3 %>@brief Draws projections of each row of DATA.X onto the column vector v
5 %> Points are colored according to data.classes.
7 %> This is 2D drawing. @c data.X must have 2 columns and @c v must have two elements.
16 plot([X(i, 1), P(i, 1)], [X(i, 2), P(i, 2)], 'k--');
20 X = P; % trick to save memory.
23 for i = 1:length(pieces)
24 scatter(pieces(i).X(:, 1), pieces(i).X(:, 2), 30,
find_color(i), 'filled');
function find_color(in i)
function draw_projections(in data, in v)
function data_split_classes(in data, in hierarchy)