I am creating a strip chart for a client. The top subplot is a track chart. The blue squares are stations. I am trying to insert labels for the squares to indicate the station name. Any help would be much appreciated.

 채택된 답변

Star Strider
Star Strider 2016년 3월 31일

0 개 추천

Use the text function. Each station has to have its own set of (x,y) coordinates.
The text function has several name-value pair options for aligning the text (such as 'HorizontalAlignment' and 'FontSize'), so the rest should be relatively straightforward.

댓글 수: 2

Dave Stolnis
Dave Stolnis 2016년 3월 31일
Awesome, I'll do a little help file searching on the text function and give that a try. Thanks for the lead brotha.
Star Strider
Star Strider 2016년 3월 31일
My pleasure.
It should be able to do what you want.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Axis Labels에 대해 자세히 알아보기

질문:

2016년 3월 31일

댓글:

2016년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by