Why am I unable to change the 'Position' property of a figure when the Property Editor is open in MATLAB 7.4 (R2007a)?
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 13 Lug 2009
Modificato: MathWorks Support Team
il 28 Nov 2014
In MATLAB 7.4 (R2007a) I am not able to change the 'Position' property of a figure when the Property Editor is in use. Changing the value of x, y, width and height doesn't result in any figure changes. If I then try to do this with the SET command, I'll get this error:
"Warning: Cannot set Position while WindowStyle is 'docked'"
Reproduction Steps:
1) At the MATLAB command prompt, type the following:
plot(1:10)
2) Select the “View -> Property Editor” menu item to open the “Property Editor”.
3) Change the figure “Position” property in the Property Editor => not possible
4) If I type the following in the MATLAB command prompt:
set(gcf,'position',[100 500 800 400])
I get the following warning message:
Warning: Cannot set Position while WindowStyle is 'docked'
Risposta accettata
MathWorks Support Team
il 18 Ott 2013
The ability to change the 'Position' property of a figure when the Property Editor is open is not available in MATLAB 7.4 (R2007a).
To work around this issue, undock the figure from the Property Editor before changing the position of the figure. Please see the attached screenshot to see instructions on how to undock the figure from the Property Editor.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!