I need a plot with x axis from 1 to 6 and I used axis([1 6 0 10]). This gives me decimals on the axis like 1, 1.5, 2,2.5 and so on. I need only 1, 2, 3 and so on instead of the decimals .How can I get rid of the decimals on the x axis?
조회 수: 1 (최근 30일)
이전 댓글 표시
I need a plot with x axis from 1 to 6 and I used axis([1 6 0 10]). This gives me decimals on the axis like 1, 1.5, 2,2.5 and so on. I need only 1, 2, 3 and so on instead of the decimals .How can I get rid of the decimals on the x axis?
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!