axis settings for figure in matlab

1 view (last 30 days)
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])

Accepted Answer

David Goodmanson
David Goodmanson on 21 Nov 2016
Edited: David Goodmanson on 21 Nov 2016
Hello SSR, go to 'help ylim' and take a look at the first paragraph, where you can set limits for the y axis

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!