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 Exchange에서 Log 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