I have a weird (and probably simple to solve) problem. I tried to plot (using panel) two plots:
a1 = subplot(2,1,1, 'Parent', handles.cpd_plot, 'Position', [0.1, 0.4, 0.85, 0.45]);
a2 = subplot(2,1,2, 'Parent', handles.cpd_plot, 'Position', [0.1, 0.1, 0.85, 0.15]);
but after plotting a2, a1 disappears. I see that its some problem with position, when I lift up a1 a bit ('Position', [0.1, 0.5, 0.85, 0.45]
) its working (but it has to be >= 0.5). Where is the problem?
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…