How to insert words in between tick marks on the X-axis

조회 수: 1 (최근 30일)
Thishan Dharshana Karandana Gamalathge
답변: Star Strider 2017년 8월 16일
On the X-axis of a figure, I have already put tick marks and corresponding values. Now I want to put some words in between those tick marks. For an example, if I already have tick marks with values showing 1,7,14,21, now I need to show week1, week2, week3 in between corresponding tick marks. How can I do that? Thanks.

답변 (1개)

Star Strider
Star Strider 2017년 8월 16일
Use the text (link) function to create the labels.
Experiment to get the result you want.

카테고리

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