how to start graph in matlab from the origin?
28 ビュー (過去 30 日間)
古いコメントを表示
Engineer Batoor khan mummand
2020 年 10 月 26 日
コメント済み: Engineer Batoor khan mummand
2020 年 10 月 27 日
hi all:
i want to start my graph from origin not from other point if you see ploting graph is started from another point and at the end we can ntot see graph so i want to start graph from origin .
thanks
0 件のコメント
採用された回答
Image Analyst
2020 年 10 月 26 日
You're doing something like calling xticks() or xticklabels() with only two values. Please show us all the code involved in creating your graph. You need to be doing something like
xticks([0, max(x)]);
instead of whatever you're doing.
その他の回答 (1 件)
drummer
2020 年 10 月 26 日
xlim[yourInitialRange, yourEndRange]
% Specifically
xlim[0, 100]; % check if it works.
% Cheers
1 件のコメント
drummer
2020 年 10 月 26 日
Actually, I noticed the right side in your graph.
You want your graphic to start at 0 from the left, or in the middle and goes negative to the left and positive to the right?
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!