1 %> @brief Base
for all reports that operate on a @ref soitem
object
5 o.classtitle = 'System optimization item';
6 o.inputclass = ''; % This class is a base class
11 % *-*-*-*-*-*-*-* TOOLS
13 function s = get_standardheader(o, obj)
14 s = ['<h1>', o.get_description(), '</h1>', 10, '<p>Input description: <b>', obj.get_description(), '</b></p>', 10, ...
15 iif(~isempty(obj.dstitle), ['<p>Input dataset: <b>', obj.dstitle, '</b></p>', 10], '')];
18 %> Creates curves from sovalues
object.
19 function s = images_1d(o, sor)
21 flag_many = size(sor.values, 2) > 1;
26 u.dimspec = {[0 0], [1 2]};
33 u.flag_hachure = ~flag_many;
36 % Creates legend image
38 % Legend is only justified
if there is more than one curve
41 save_legend(o.gff(fnleg), 150); % High DPI because
this may be the only opportunity to have the legend
51 u.valuesfieldname =
'times3';
59 s = cat(2, s, o.save_n_close());
62 s = cat(2, s, o.get_imgtag(fnleg, 10, 0));
66 % Second part: the hachured sub-images
70 u.dimspec = {[0 0], [1 2]};
71 u.valuesfieldname =
'rates';
78 s = cat(2, s, o.save_n_close());
80 u.valuesfieldname =
'times3';
83 s = cat(2, s, o.save_n_close());
87 %*****************************************************************************************************************************************
89 %> Creates 2d image maps from sovalues
object.
90 function s = images_2d(o, sor)
Draws plot from a sovalues object.
Draws plot from a sovalues object.
function maximize_window(in h, in aspectratio, in normalizedsize)
Property valuesfieldname
=rates
function view_ratetimesubimages(in r)
function iif(in cond, in x1, in x2)
Base for all reports that operate on a soitem object.
function find_filename(in prefix, in suffix, in extension, in flag_return_ext)
function save_legend(in fn, in dpi)