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 comentarios

Jackie Caminiti
Jackie Caminiti el 11 de Ag. de 2020
Same problem!
Théo ASPERT
Théo ASPERT el 11 de Mayo de 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.

Iniciar sesión para comentar.

 Respuesta aceptada

Mario Malic
Mario Malic el 24 de Sept. de 2020

0 votos

3 comentarios

Walter Roberson
Walter Roberson el 24 de Sept. de 2020
Note that exportapp is R2020b.
Stephane Bouilland
Stephane Bouilland el 5 de Oct. de 2020
yes, thanks !
Sandesh Dube
Sandesh Dube el 20 de Oct. de 2020
Hello Mr. Roberson, I am trying to use 'exportgraphics' in 2019b. it is not available. What is the alternative function to use?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Printing and Saving en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Preguntada:

el 17 de Jul. de 2020

Comentada:

el 11 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by