Non Uniform spacing between axes

조회 수: 6 (최근 30일)
SUBHAJIT KAR
SUBHAJIT KAR 2019년 10월 22일
편집: SUBHAJIT KAR 2020년 3월 21일
I want to change the spacing between the levels of x axis. I want to plot the first three points then increase the gap after first three points and so on. In that way the first 3 plots will be closer and then a small space between next three plots. How can I do so? Thanks.
Image.png
  댓글 수: 2
dpb
dpb 2019년 10월 22일
I'd venture easiest way would be to use some nonlinear scaling function on the x data and plot against it. Then use 'XTickLabel' to write the desired tick labels for each -- would be the inverse of the transform or the input to the transform values.
SUBHAJIT KAR
SUBHAJIT KAR 2020년 3월 21일
편집: SUBHAJIT KAR 2020년 3월 21일
Thanks for helping. Could you please give me an example using a matlab code so that I can implement it on my program?

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

답변 (0개)

카테고리

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