Hey
How do I change the axis tick on my x-axis? Right now it ticks= 0, 2, 4, 6 ... etc., but I want it to go: 0, 1, 2, 3, 4, 5 ... etc.
Thank you!

 채택된 답변

Sara
Sara 2014년 5월 14일

1 개 추천

set(gca,'xtick',1:1:10)
replace 10 with your larger value

추가 답변 (0개)

카테고리

질문:

2014년 5월 14일

댓글:

2014년 5월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by