Different scaling on the same axis

Dear all, I have a difficulty plotting data that ranges over 11 orders of magnitude and also contains some zero values.
In order to display this large range of data including the zero values, I would have to combine linear scaling (around zero) and logarithmic scaling (elsewhere) on each axis.
I could do this by breaking each axis at a given position and setting the scaling before the break to linear and the scaling after the break to logarithmic.
Does anyone know the trick how to do this? Cheers, Igor

回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 1 月 17 日

0 投票

Perhaps the MATLAB File Contribution plt().
If not then there is a contribution named something like "breakaxis"
Igor Vilfan
Igor Vilfan 2012 年 1 月 17 日

0 投票

Thanks, Walter, for your prompt response! :)
I have found breakXaxis earlier today at:
but it is unclear to me how to define separate types of scaling for axis section before the break and after the break. Any ideas? Thanks, Igor

カテゴリ

ヘルプ センター および File ExchangeLog Plots についてさらに検索

質問済み:

2012 年 1 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by