I have a simple plotting gui via user input using buttons and wish to save figure on the axes as an jpg image using a pushbutton. what do I need to write on the pushbutton callback?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Young Lee
el 23 de Oct. de 2018
Comentada: dpb
el 25 de Oct. de 2018
I have a simple plotting gui via user input using buttons and wish to save figure on the axes as an jpg image using a pushbutton. what do I need to write on the pushbutton callback?
0 comentarios
Respuesta aceptada
dpb
el 23 de Oct. de 2018
...
fn='yourchosenfilename';
saveas(gcf,fn,'jpeg')
See
doc saveas % for more details
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!