Non Uniform spacing between axes

1 vue (au cours des 30 derniers jours)
SUBHAJIT KAR
SUBHAJIT KAR le 22 Oct 2019
Modifié(e) : SUBHAJIT KAR le 21 Mar 2020
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 commentaires
dpb
dpb le 22 Oct 2019
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 le 21 Mar 2020
Modifié(e) : SUBHAJIT KAR le 21 Mar 2020
Thanks for helping. Could you please give me an example using a matlab code so that I can implement it on my program?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by