How to specify yticklabel at specific ticks?

조회 수: 2 (최근 30일)
Leon
Leon 2022년 2월 2일
댓글: Leon 2022년 2월 2일
For example, if I have a y-axis ranging from 0-100. My "ytick" is [0:10:100]. How do I only add ticklabels at the below unevenly distributed tick locations?
15, 27, 33, 45, 75
This is my 2nd y-axis and my goal is to add some particular lables at these locations, while not messing up with the existing tick locations.

채택된 답변

VBBV
VBBV 2022년 2월 2일

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by