1 %> @brief Shows curves or images from foldmerge of some model selection (e.g. clarchsel or fearchsel)
6 o.classtitle = 'Curves/Images from Model Selection';
7 o.inputclass = 'soitem_items';
14 methods(Access=protected)
15 function out = do_use(o, obj)
18 if numel(obj.items) > 0 && ~isempty(obj.items{1}.sovalues) % Avoids error when items is empty
20 % Extract sovalues from soitem_items
21 out = obj.extract_sovalues();
24 nd = ndims(sov.values);
26 % If 3D, plot all images slicing through the second dimension
28 p.dimspec = {[1 0 0], [1 2]};
29 p.valuesfieldname =
'rates';
36 no_cases = size(sov.values, 1);
38 v_image.dimspec = {[i 0 0], [1 2]};
45 % If 2D, extract dataset and plot 3 things:
47 p.dimspec = {[0 0], [1 2]};
48 p.valuesfieldname =
'rates';
49 blbl_extract_ds_from_sovalues01 = p;
51 [blbl_extract_ds_from_sovalues01, out] = blbl_extract_ds_from_sovalues01.use(sov);
58 vis_hachures01.use(ds);
59 a =
get(gca,
'title');
60 set(a,
'string', [
'Std hachures & Averages - ', sov.ax(2).label,
' - "',
get(a,
'string'),
'"']);
62 s = cat(2, s, o.save_n_close());
64 % - Individual curves + average
68 vis_alldata01.use(ds);
74 a =
get(gca,
'title');
75 set(a,
'string', [
'Individual & Averages - ', sov.ax(2).label,
' - "',
get(a,
'string'),
'"'])
76 set(gca(), 'ylim', [min(ds.X(:)), max(ds.X(:))]);
79 s = cat(2, s, o.save_n_close());
81 % What for??? % % % - Averages only
83 % % % vis_means01.use(ds);
85 % % % a = get(gca, 'title');
86 % % % set(a, '
string', ['Averages - ', sov.ax(2).label, ' - "', get(a, '
string'), '"']);
88 % % % s = cat(2, s, o.save_n_close());
93 out.html = [o.get_standardheader(obj), s];
94 out.title = obj.get_description();
function maximize_window(in h, in aspectratio, in normalizedsize)
Visualization - All curves in dataset.
Draws image from a sovalues object.
Hachures showing intervals.
Generated by irreport, carries HTML contents.
Visualization - Class means.
Shows curves or images from foldmerge of some model selection (e.g. clarchsel or fearchsel) ...
Base for all reports that operate on a soitem object.