MATLAB: How to set plot axes

figure (1)
plot(A(512,:))
hold on
plot(B(512,:),'r')
How do I specify the axes scale for plots? E.g. Y axes from 0 to 80000; and X axes from 0 to 1100

Best Answer

axis([0 1100 0 80000])