I can not see the correct x axos number

조회 수: 2 (최근 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 CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by