how can i extract a portion of graph in linear axis?
조회 수: 1 (최근 30일)
이전 댓글 표시
Can i plot a graph like the followed figure?
-- x axes is linear but a portion is missing.

댓글 수: 1
Adam
2018년 7월 27일
편집: Adam
2018년 7월 27일
I think you'd probably have to use two distinct axes to do that. You can position them right next to each other and remove the y axis ticks and line from the right-hand one, etc and use linkaxes in the y direction if you want to allow zooming.
Alternatively you could fake it by changing the axis tick labels and plotting the 2nd part from 800, but labelling its ticks as you want them, but that is not a great solution if you need to interact with the graph in any way with e.g. data cursor.
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!