% Script File: ShowAxisStyles
% How to scale the axes.
  
  theta = linspace(0,2*pi);
  x = cos(theta);
  y = sin(theta);
  close all

  figure
  plot(x,y)
  title('Autoscaling')

  figure
  plot(x,y)
  axis equal
  title('axis equal')

  figure
  plot(x,y)
  axis equal square
  title('axis equal square')

  figure
  plot(x,y)
  axis([-1.2 1.2 -1.2 1.2])
  title('axis([-1.2 1.2 -1.2 1.2])')

  figure
  plot(x,y)
  axis([-1.2 1.2 -1.2 1.2])
  axis equal
  title('axis([-1.2 1.2 -1.2 1.2]); axis equal')

  figure
  plot(x,y)
  axis([-1.2 1.2 -1.2 1.2])
  axis equal square
  title('axis([-1.2 1.2 -1.2 1.2]); axis square')


