1 %>@ingroup datasettools
3 %>@brief Draws 3-D scatter plot-ellipse walls
6 %> @param idxfea What features to use. Numbers point to columns in @c data.X
7 %> @param confidences a list of percentages (]0, 1[) for the confidence ellipses
8 %> @param flags_min 3D
boolean vector that controls where the walls will be drawn
9 %> @return <em>[data]</em>
10 %> @return <em>[data, handles]</em>. handles: handles for the legends
11 %> @param ks = [0.2, 0.5] a two-element vector with multipliers so that the axis limits take a distance from the points minima and maxima.
12 %> The first element refers to the minima, and the second refers to the maxima.
13 %> @param flag_wallpoints = 0. Whether to plot the point projections onto the walls
16 if ~exist('confidences', 'var')
20 if ~exist('flags_min', 'var')
21 flags_min = [0, 0, 1];
24 if ~exist('ks', 'var')
28 if ~exist('flag_wallpoints', 'var')
34 irerror('idx_fea must have 3 elements!');
36 if any(idxfea > data.nf)
37 irerror(sprintf('Dataset has only %d feature(s)!', data.nf));
40 handles =
draw3d2_core(data, idxfea, confidences, flags_min, ks, flag_wallpoints);
48 varargout = {data, handles};
function draw3d2_core(in data, in idxfea, in confidences, in flags_min, in ks, in flag_wallpoints)
function data_draw_scatter_3d2(in data, in idxfea, in confidences, in flags_min, in ks, in flag_wallpoints)
function data_get_legend(in data)
function draw3d2_adjust(in data, in idxfea, in flags_min, in ks)