Saving a figure without menu?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
There is a figure('Menu','none') and a plot inside that figure. nothing else. is it possible to save it in .fig or .jpg? or extract data?
0 comentarios
Respuesta aceptada
Jan
el 30 de Ag. de 2013
You can export the figure's contents by commands written to the command window or from inside a script or function. See help print and help saveas. It would be easy to active the menubar also, as Azzi has shown already.
3 comentarios
Más respuestas (1)
Azzi Abdelmalek
el 30 de Ag. de 2013
Editada: Azzi Abdelmalek
el 30 de Ag. de 2013
x=0:0.1:10;
y=sin(x)
h=plot(x,y)
saveas(h,'filename.jpg')
2 comentarios
Ver también
Categorías
Más información sobre Specifying Target for Graphics Output en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!