MATLAB: Axis settings for figure in matlab

axesplotting

Hi , I have a matlab code for a figure. I want both the xaxis and y axis to be the same. in this case i am getting x-axis as (0,700) and y-axis as (0,600). i want both to be (0,700).
Can anyone help. Thanks
figure qqplot (pems_nox_local,ftir_nox_local) xlabel ('PEMS NOx') ylabel ('FTIR NOx') title('PEMS VS FTIR NOx @ local') line (xlim, ylim,'color','k') xlim ([0 inf]) ylim ([0 inf])

Best Answer

Hello SSR, go to 'help ylim' and take a look at the first paragraph, where you can set limits for the y axis