how export uifigure with exportgraphics()

28 vues (au cours des 30 derniers jours)
Stephane Bouilland
Stephane Bouilland le 17 Juil 2020
Commenté : Théo ASPERT le 11 Mai 2021
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 commentaires
Jackie Caminiti
Jackie Caminiti le 11 Août 2020
Same problem!
Théo ASPERT
Théo ASPERT le 11 Mai 2021
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.

Connectez-vous pour commenter.

Réponse acceptée

Mario Malic
Mario Malic le 24 Sep 2020
  3 commentaires
Stephane Bouilland
Stephane Bouilland le 5 Oct 2020
yes, thanks !
Sandesh Dube
Sandesh Dube le 20 Oct 2020
Hello Mr. Roberson, I am trying to use 'exportgraphics' in 2019b. it is not available. What is the alternative function to use?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by