Setting a Range of X values to Plot
158 ビュー (過去 30 日間)
古いコメントを表示
Hi. I have a range of very small numbers to plot in a graph but MATLAB isn't accepting what I want.
For example, if I wanted to plot from -5 to 5, I would input x=[-1:4] and it would have x = -1 0 1 2 3 4.
I'm trying to plot a range from 10E-10 to 10E-07. When I code x=[10E-10:10E-07], it only returns the function as x=10E-10 and not the range.
What am i supposed to do?
0 件のコメント
回答 (3 件)
Keerthana Chiruvolu
2020 年 3 月 17 日
Hi,
Kindly use xlim([10e-10 10e-7]) to set the x axis range.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!