resize of axes
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to ask that axes can resize?
0 Kommentare
Antworten (2)
Image Analyst
am 11 Mär. 2012
Or, if you meant the actual size of the axes, instead of the range of the axes, then you can use set() to set the position (which is both the position and the size):
set(handleToYourAxes, 'Position', [.1 .2 .8 .8]); % Or whatever size you want.
2 Kommentare
Image Analyst
am 11 Mär. 2012
Then set the 'Units' property of your axes to 'Normalized' - not 'pixel'. If you do that then when you resize your window (main figure), the axes on it will scale proportionally.
Honglei Chen
am 11 Mär. 2012
There are many functions
doc xlim
doc ylim
doc axis
2 Kommentare
Daniel Shub
am 11 Mär. 2012
If you type doc xlim at the command line, you will get all the help you need to use xlim.
Siehe auch
Kategorien
Mehr zu Graphics Object Properties finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!