Plot with GUI elements - save as image (with GUI-elements)


i’ve created a GUI with a dynamic table (uitable), buttons (uicontrol) and a plot.

Now I want to save all that as an image (e.g. .png).

Unfortunately Octave produces only the frame of the figure, as well as the plot, but no GUI-elements or data table.

I tried:

imwrite (getframe (gcf).cdata…)
saveas (gcf…)
print (f1…)

I can’t find a solution on google…

can you help me out with that?

I think I need some kind of screenshot of the figure as is.

Thank you :blush:

Octave currently can’t print uixxx elements. The only way is, as you suggested, to do a screen capture.