I can not see the correct x axos number

1 回表示 (過去 30 日間)
elham talvari
elham talvari 2021 年 12 月 29 日
回答済み: Chunru 2021 年 12 月 29 日
hi everyone
I have written
n_temp=linspace(14,18,1000); % x-axis [cm^-3]
n=10.^(n_temp);
but in my plot it doesnt show properly and in ax axis I have 0 2 4 6 8 10!!!
it will be so appreciated if you help me.

回答 (1 件)

Chunru
Chunru 2021 年 12 月 29 日
n_temp=linspace(14,18,1000); % x-axis [cm^-3]
n=10.^(n_temp);
plot(n_temp, n)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by