1 %> @brief Draws image from a sovalues
object
4 %> ={[Inf, 0, 0], [1, 2]}
6 dimspec = {[Inf, 0, 0], [1, 2]};
9 valuesfieldname =
'rates';
27 o.classtitle = 'Image';
28 o.inputclass = 'sovalues';
33 methods(Access=protected)
34 function out = do_use(o, r)
38 [p.values, p.ax, axnot] = sovalues.get_vv_aa(r.values, r.ax, o.dimspec);
41 if ndims(p.values) ~= 2
42 irerror('dimspec is wrong, should select exactly 2 dimensions!');
47 if o.flag_star && ~isempty(ch)
48 %> Finds the "best" (x, y) to put a star on the image
49 temp = ch.use(p.values);
50 star_ij= cell2mat(temp);
55 p.
draw_image(o.valuesfieldname, star_ij, o.clim, o.flag_logtake, o.flag_transpose);
60 for i = 1:numel(axnot)
64 s = cat(2, s, axnot(i).label, ': ', axnot(i).ticks{1});
Draws image from a sovalues object.
function draw_image(in Y, in height, in direction)
Visualization base class.