setUnitAspectRatio
Set the aspect ratio of the axis in the current plot to unity.
setUnitAspectRatio(a)
Inputs
a true or false .


Description
If the input is false , the scaling and placement of the plotting area are determined without considering the aspect ratio.
Example
>>m=n=20
>>theta=linspace(0,1,m)*2*pi;
>>phi=linspace(-1,1,n)*pi/2;
>>x=cos(phi')*cos(theta);
>>y=cos(phi')*sin(theta);
>>z=sin(phi')*ones(size(theta))
>>surf(x,y,z)
>>title("Sphere")
>>setUnitAspectRatio(true);