How to make a break in an axis?

31 vues (au cours des 30 derniers jours)
Nicolas Ochmann
Nicolas Ochmann le 24 Août 2017
Commenté : Brando Miranda le 11 Juil 2018
Hi everybody?
I would like to plot the eigenvalues of a matrix as follows:
plot(eig(A));
This works, however does anybody know how I can include a break in the real axis so that the figure plots from -15 to -10 and -5 to 0 with respect to the real axis?
Thank you in advance!
Nicolas

Réponse acceptée

Walter Roberson
Walter Roberson le 24 Août 2017
  3 commentaires
Brando Miranda
Brando Miranda le 11 Juil 2018
can u have a picture demo of what using this code does?
Brando Miranda
Brando Miranda le 11 Juil 2018
can both of them be used at once?

Connectez-vous pour commenter.

Plus de réponses (1)

Jan
Jan le 24 Août 2017
Modifié(e) : Jan le 24 Août 2017
It is a good strategy to search in the forum before asking a question. You would find e.g. that this has been asked 3 hours before already: https://www.mathworks.com/matlabcentral/answers/353921-how-to-make-a-break-on-the-x-axis .
There I have recommended to search in the FileExchange:
  1 commentaire
Nicolas Ochmann
Nicolas Ochmann le 25 Août 2017
Thanks!

Connectez-vous pour commenter.

Catégories

En savoir plus sur Mathematics 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