How do I expand the axes to eliminate all of the gray space in a figur
How do I expand the axes to eliminate all of the gray space in a figur
(OP)
Hi,
Iam using MATLAB version 6.5.0.180913a Release 13.
I have the following question:
How do I expand the axes to eliminate all of the gray space in a figure?
However, this can be accomplished through manipulation of the 'OuterPosition', 'Position', and 'TightInset' properties of the axes.
But In my MATLAB version i can use only the 'Position' property. The other propeties(TightInset and OuterPosition) are not available.
For example, if i use the following command, i get the error message.
t1 = get(h1,'TightInset');
??? Error using ==> get
Invalid axes property: 'TightInset'.
It seems these properties are not available in my version of MATLAB. So How can i eliminate gray spaces in any other way or is there any other propeties to do the same?
Iam using MATLAB version 6.5.0.180913a Release 13.
I have the following question:
How do I expand the axes to eliminate all of the gray space in a figure?
However, this can be accomplished through manipulation of the 'OuterPosition', 'Position', and 'TightInset' properties of the axes.
But In my MATLAB version i can use only the 'Position' property. The other propeties(TightInset and OuterPosition) are not available.
For example, if i use the following command, i get the error message.
t1 = get(h1,'TightInset');
??? Error using ==> get
Invalid axes property: 'TightInset'.
It seems these properties are not available in my version of MATLAB. So How can i eliminate gray spaces in any other way or is there any other propeties to do the same?





RE: How do I expand the axes to eliminate all of the gray space in a figur
if so ...
just type get(h1)
and it should be Color = [0.8 0.8 0.8]
I think 1 is white and 0 is black.
then.
set(h1,'Color',[1 1 1])
should do the trick...
RE: How do I expand the axes to eliminate all of the gray space in a figur
CODE
Set x=0, y=0, width=1 and height=1 to completely fill the figure.
However, no axis labels or tick labels will be visible.
RE: How do I expand the axes to eliminate all of the gray space in a figur