Adjust figure position to a negative value
5 views (last 30 days)
Show older comments
I use the following code to generate a figure
f = figure;
f.Position = [-0.4879 0.0333 0.4863 0.6111]
Then, I query the figure's position
>> f.Position
ans =
0 0.0333 0.4863 0.6111
It ignores the negative x-value that would position the figure in my left monitor. I drag the figure to where I want it and query the position again
>> f.Position
ans =
-0.4953 0.0333 0.4863 0.6111
Is there a way to generate the figue in the left monitor without dragging it over there?
0 Comments
Answers (1)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!