SETPOS 1.2 - GETPOS 1.2
Keine Lizenz
Anmerkung des Herausgebers: This was a File Exchange Pick of the Week
SETPOS/GETPOS are two flexible wrappers to set/get the "Position" property of graphics objects (figure, axes, uicontrol).
SETPOS(H,POS) works as SET(H,'Position',POS) and GETPOS(H) works as GET(H,'Position') but :
Both can set/get data using different unit for each element of the 'Position' vector.
Both can manage each element [Left,Bottom,Width,Height] individually without the others.
Both can use any graphics object HREF as position reference, instead of the parent of H. (Added in V1.1)
SETPOS contains a +/- feature that increase/decrease the corresponding value in the 'Position' vector.
Please contact me directly by email for bug report or enhancement request.
##################################################
Versions:
(Both) 1.0 (12-Feb-2007)
(Both) 1.1 (14-Feb-2007)
Third input argument HREF added.
Minor corrections in the help section.
(Both) 1.2 (21-Feb-2007)
Bug fixed if HREF is the Root object.
Examples removed from the help section.
Third file containing examples added.
Zitieren als
Jerome Briot (2024). SETPOS 1.2 - GETPOS 1.2 (https://www.mathworks.com/matlabcentral/fileexchange/13927-setpos-1-2-getpos-1-2), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Graphics Objects > Graphics Object Properties >
- MATLAB > Graphics > Graphics Objects > Graphics Object Programming >
Tags
Quellenangaben
Inspiriert von: GETINUNITS
Inspiriert: legendflex.m: a more flexible, customizable legend, ecopath_matlab: A Matlab implementation of Ecopath, Rosin-Rammler Diagram plotting tool
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | Bug fixed and examples moved from the help sections to a third M-file. |