Print a list of all figures (visible or invisible)
See also: figure_show, figure_hide, figure_set_visible.
The following code
x = linspace(0, 2 * pi, 10); y = [sin(x); cos(x); tanh(x)]; hfig = []; for i=1:rows(y) hfig(end + 1) = figure("visible", "off"); plot(x, y(i, :), sprintf("-;y%d(x);%d", i, i)); title(sprintf("function y%d(x)", i)); endfor figure_list(); for i=1:numel(hfig) close(hfig(i)); endfor
gives an example of how 'figure_list' is used.
Package: mboct-octave-pkg