Naming figures (fig.m)
This function works just like the figure command in MATLAB except that you reference figures by names instead of figure handles. (you can still use the handles though)
H=fig('My figure')
The title of the window of the figure will now be 'My figure'. You can also set figure properties with the same call:
fig('My figure','renderer','opengl');
It will also place the figure window on the monitor with the current mouse position.
Citar como
Aslak Grinsted (2025). Naming figures (fig.m) (https://es.mathworks.com/matlabcentral/fileexchange/3431-naming-figures-fig-m), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Programming >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.4.0.0 | Fixed a bug in positioning code. |
||
| 1.2.0.0 | *added screenshot *no longer lets it change paperorientation by default. |
||
| 1.0.0.0 | Update: Only sets any default attributes if a new figure is created... Uses orient landscape instead of set(H,'orientation','landscape'). |
