PPATTERNS |
Plots pattern as points in feature space.
Synopsis:
ppatterns(data,marker_size)
ppatterns(data,'num')
ppatterns(X,marker,marker_size)
ppatterns(X,y)
ppatterns(X,y,marker_size)
ppatterns(X,y,'num')
Description:
ppatterns(data,marker_size) plots data.X as points
distinguished by marker and its color according to
given labels data.y. The marker size can be prescribed.
ppatterns(data,'num') plots data.X in distinguished
by numbers and colors according to given labels data.y.
The marker size can be determined by argument marker_size.
ppatterns(X,marker,marker_size) plots data X. Marker type
can be determined by argument marker. The marker size can
be determined by argument marker_size.
ppatterns(X,y,...) instead of structure data, which contains
items X and y these can enter the function directly.
If dimension of input data is greater than 3 then
only first 3 dimensions are assumed and data are plotted
in 3D space.
Output:
H [struct] Handles of used graphical objects.
Example:
data = load('riply_trn');
figure; ppatterns(data);
figure; ppatterns(data,'num');
figure; ppatterns(data.X,'xk',10);
See also
PLINE.
About: Statistical Pattern Recognition Toolbox
(C) 1999-2003, Written by Vojtech Franc and Vaclav Hlavac
Czech Technical University Prague
Faculty of Electrical Engineering
Center for Machine Perception
Modifications:
25-may-2004, VF
11-mar-2004, VF,
5-oct-2003, VF, returns handles
12-feb-2003, VF, 1D, 3D added
7-jan-2003, VF, created