필터 지우기
필터 지우기

Text instead of values in tick

조회 수: 2 (최근 30일)
Jakub
Jakub 2013년 9월 29일
답변: Azzi Abdelmalek 2013년 9월 29일
How can I have text for example: a,b,c,d instead of 1,2,3,4 in xtick? Matlab always tells me that these values must be numeric...Thanks

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 29일
set(gca,'xtick',[1 2 3 4],'xticklabel',{'a','b','c','d'})

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by