discontinuous x axis plot

조회 수: 39 (최근 30일)
mor levi
mor levi 2020년 10월 5일
댓글: Adam Danz 2020년 10월 5일
how do I cut the part between 50 to 80? is there a short way to do so? I need it to be one graph with // in the dead range
  댓글 수: 1
Adam Danz
Adam Danz 2020년 10월 5일
This topic has come up lots of times in the forum. Search for it on the forum and in File Exchange (see Jon's answer below) to get some suggestions. Common approaches are
  • Alter the x-data so that there's less distance between clusters of data and then change the XTickLabels to reflect the true x-values within each cluster of data.
  • Create two horizontally contiguous axes that allows your to maintain the real x-values and doesn't require you to mess around with the XTickLabels.
  • Under some circumstances, setting the XScale to log may be sufficient.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jon
Jon 2020년 10월 5일
I don't think there is a MATLAB command for this but there are many file exchange submissions that should help you

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by