graphic export should be possible for Frames containing Axes
Bug Description
xs2png, xs2svg, ... do not accept Frames as first argument although they are supported internally as AxesContainers like Figures.
Steps to reproduce
fr=uicontrol(gcf(),"style","frame","position",[0 0 1 1],"units","normalized");
a=newaxes(fr);
plot(a,1:10,sin(1:10))
path_frame = TMPDIR + "/issue_17098_frame.png";
xs2png(f, path);
issue_17098_frame.png
is an image with only figure background).
Edited by Stéphane MOTTELET