1 %> @brief Visualization of Grades Curves stored inside a
log_ovrcurves object
4 %> (optional) Hint dataset. Used to plot a black dashed thin spectrum line on the background
6 %> =0. Whether to trace a dashed horizontal line to show a minimum altiture threshold from the @c
peakdetector
8 %> This property is only used
if the @pc
peakdetector has been specified
10 %> =0. Whether to take the abs() of the of the loadings
12 %> =[]. Peak detector to mark peaks in the Loadings and Peak Location plots
14 %> =0. Loadings Envelope mode. When loadings are very spiky,
this can be set to =1 to merge adjacent peaks with a thicker line.
16 %> This only takes effect
if @c flag_bmtable is 0
18 %> =0. Activates the
"Peak Location Plot" mode
25 o.inputclass =
'log_ovrcurves';
30 methods(Access=
protected)
31 function out = do_use(o, log)
35 if ~isempty(o.data_hint)
36 hintx = o.data_hint.fea_x;
37 hinty = mean(o.data_hint.X, 1);
43 % Eliminates the color index corresponding to the reference class
44 % This will synchonize colors with other plots that plot data from the
46 colorindexes = 1:size(log.gradess, 1)+1;
47 colorindexes(log.idx_ref) = [];
51 draw_loadings(log.fea_x, log.gradess', hintx, hinty, log.legends, o.flag_abs, ...
52 o.peakdetector, o.flag_trace_minalt, flag_p, flag_p, 0, o.flag_envelope, colorindexes);
55 draw_loadings_pl(log.fea_x, log.gradess', hintx, hinty, log.legends, o.flag_abs, ...
56 o.peakdetector, colorindexes);
Stores set of grades as a matrix.
Visualization base class.
function draw_loadings(in x, in L, in x_hint, in hint, in legends, in flag_abs, in peakd, in flag_trace_minalt, in flag_draw_peaks, in flag_print_peaks, in flag_histogram, in flag_envelope, in colors)
Property classtitle
Class Title. Should have a descriptive name, as short as possible.
Visualization of Grades Curves stored inside a log_ovrcurves object.
function set_title(in s, in obj)
function draw_loadings_pl(in x, in L, in x_hint, in hint, in legends, in flag_abs, in peakd, in colorindexes)