how export uifigure with exportgraphics()

Hello,
I'm trying to save a uifigure (not uiaxe) using
exportgraphics(app.UIFigure,'myfigure.jpg')
I only get a blank picture.
It works well with one uiaxe but I want to export the complete uifigure with all the uiaxes and titles
Does anybody suceeded doing this ?
Thanks

2 Comments

Same problem.
exportapp() works slightly better but sucks at rendering the same size as the original uifigure, and no option is available to change this.

Sign in to comment.

 Accepted Answer

3 Comments

Note that exportapp is R2020b.
Hello Mr. Roberson, I am trying to use 'exportgraphics' in 2019b. it is not available. What is the alternative function to use?

Sign in to comment.

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Products

Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!