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

Detailed Description

Draws 2-D scatter plot.

Definition in file data_draw_scatter_2d.m.

Go to the source code of this file.

Functions

function data_draw_scatter_2d (in data, in idx_fea, in confidences, in textmode)
 

Function Documentation

function data_draw_scatter_2d ( in  data,
in  idx_fea,
in  confidences,
in  textmode 
)
Parameters
datadataset
idx_feaWhat features to use. Numbers point to columns in data.X
confidencesa list of percentages (]0, 1[) for the confidence ellipses
textmode=0
  • 0 - no text anotation
  • 1 - annotates "obsnames"
  • 2 - annotates "groupcodes"