How do I create non uniform spacing between axis ticks like in figure ?
조회 수: 25 (최근 30일)
이전 댓글 표시
I'm trying to create a ticks distribution like the one in figure
...I really can't figure how to do it. Do I have to define the x-variable in a particular way or is it just an axis and ticks thing ?
채택된 답변
Amy
2017년 12월 18일
편집: Amy
2020년 5월 14일
Hi Francesco, take a look at this documentation page if you haven't already: Specify Axis Tick Values and Labels
There is also an example of setting nonuniform x-axis tick locations on the documentation page for 'xticks'.
adding to this (5/14/20): It looks like you also wanted to use a logarthmic scale for the x-axis and semilogx was already suggested.
댓글 수: 2
Amy
2020년 5월 14일
Thanks LR, I edited my answer to include the links to documentation for setting a log scale and limits on the x-axis, which had already been suggested in the comments.
추가 답변 (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!