Using same figure properties (e.g. current axes) onto new ones
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Vasileios Leivadas
el 19 de Oct. de 2019
Comentada: Vasileios Leivadas
el 20 de Oct. de 2019
I was wondering how am I able with a short script or few lines of code to copy some figure's properties and be able to use them on new ones. There are few similar questions around the Central but they seem either to be outdated or too complicated. Any suggestions would be much appreciated!
0 comentarios
Respuesta aceptada
Sulaymon Eshkabilov
el 19 de Oct. de 2019
hi,
An easy way is to create/generate (MATLAB automatically) a plot building file from your already created plot figure via File --> Generate a code --> after a few seconds you will get a file (untitled.m) that you'll rename and use it by its default axis settings.
Good luck.
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects 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!