Setting y-axis in figure

조회 수: 2 (최근 30일)
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI 2022년 7월 15일
댓글: Voss 2022년 7월 16일
Hello all...
I would like to set the y-axis as shown in thisFigure.

채택된 답변

Voss
Voss 2022년 7월 15일
ax = gca();
set(ax, ...
'YLim',[1 1e10], ...
'YScale','log', ...
'Box','on', ...
'XGrid','on', ...
'YGrid','on', ...
'YMinorGrid','off', ...
'YMinorTick','off', ...
'TickLength',[0.02 0.02], ...
'GridLineStyle',':', ...
'GridColor',[0 0 0], ...
'GridAlpha',1, ...
'FontSize',12)
ylabel('Infected cell y')
  댓글 수: 2
FAWAZ FAREAD AL BAKRI
FAWAZ FAREAD AL BAKRI 2022년 7월 16일
Thank you very much, it works perfectly.
Voss
Voss 2022년 7월 16일
You're welcome!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Grid Lines, Tick Values, and Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by