6 %> =0. 0: feature; 1:
class; 2: y
8 %> =1. Index of feature in
case @c mode is 0.
10 %> Whether to stretch the image to occupy the whole figure area
11 flag_set_position = 1;
16 o.classtitle = 'Image map';
21 methods(Access=protected)
22 function out = do_use(o, obj)
24 if isempty(obj.height) || obj.height < 1
25 irerror('Dataset has no defined image dimensions!');
28 % Makes a dataset sorted by number of occurences in the last column
29 if o.mode == 1 % classes
33 elseif o.mode == 0 || o.mode == 2 % feature or Y
35 x = obj.X(:, o.idx_fea);
40 x(obj.classes < 0) = NaN;
44 irerror(sprintf('Invalid mode: %d', o.mode));
48 if o.flag_set_position
49 set(gca, 'Position', [0, 0, 1, 1]);
function draw_image(in Y, in height, in direction)
Visualization base class.
function renumber_vector_idooo(in y)
function set_title(in s, in obj)
function draw_indexedimage(in Y, in height, in direction, in classlabels)