Labeling Axises, YTick spacing, maximum and minimum labeling

조회 수: 1 (최근 30일)
John Hawat
John Hawat 2019년 3월 19일
편집: John Hawat 2019년 8월 20일
j

답변 (1개)

dpb
dpb 2019년 3월 19일
>> [mx,i]=max(zc(:))
mx =
154.5315
i =
10403
>> [imx,jmx]=ind2sub(size(zc),i)
imx =
101
jmx =
103
>> zc(imx,jmx)
ans =
154.5315
>>
Your ticklabel vector must have as many elements in it as there are tick values...set the ytick vector to the number/location wanted to avoid the automagic resizing.

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by