How to make a break in an axis?

80 次查看(过去 30 天)
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

采纳的回答

Walter Roberson
Walter Roberson 2017-8-24

更多回答(1 个)

Jan
Jan 2017-8-24
编辑:Jan 2017-8-24
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:

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by