IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
data_draw_scatter_3d2.m File Reference

Detailed Description

Draws 3-D scatter plot-ellipse walls.

Definition in file data_draw_scatter_3d2.m.

Go to the source code of this file.

Functions

function data_draw_scatter_3d2 (in data, in idxfea, in confidences, in flags_min, in ks, in flag_wallpoints)
 

Function Documentation

function data_draw_scatter_3d2 ( in  data,
in  idxfea,
in  confidences,
in  flags_min,
in  ks,
in  flag_wallpoints 
)
Parameters
datadataset
idxfeaWhat features to use. Numbers point to columns in data.X
confidencesa list of percentages (]0, 1[) for the confidence ellipses
flags_min3D boolean vector that controls where the walls will be drawn
Returns
[data]
[data, handles]. handles: handles for the legends
Parameters
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. The first element refers to the minima, and the second refers to the maxima.
flag_wallpoints= 0. Whether to plot the point projections onto the walls