How can i break in the Y-axis for better visualization?
Show older comments
I have the following data set.
X=[0 0.08 0.16 0.24 0.32 0.4 0.48 0.56 0.64 0.72 0.8 0.88 0.96 1 1.12];
Y1=[0.0517 0.0515 0.0513 0.0508 0.0503 0.0501 0.0499 0.0465 0.0471 0.0475 0.0496 0.0496 0.0501 0.0500 0.0425];
Y2=[0.1203 0.1181 0.1177 0.1165 0.1156 0.1128 0.1120 0.1135 0.1146 0.1148 0.1152 0.1158 0.1166 0.1190 0.1050];
I have drawn the following figure. However, for better visualization, i want to break the y-axis, that could improve the visualization. Could you please help me?

1 Comment
Lea
on 4 May 2024
yanan Liu found a very good code for it.
Answers (1)
KSSV
on 11 Apr 2022
0 votes
Categories
Find more on Subplots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!