Labeling Axises, YTick spacing, maximum and minimum labeling
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!