Hello SSR, go to 'help ylim' and take a look at the first paragraph, where you can set limits for the y axis
axis settings for figure in matlab
1 次查看(过去 30 天)
显示 更早的评论
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])
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Properties 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!