Visual stacking order of objects and plotyy
古いコメントを表示
Hi,
I have created a graph using the PLOTYY command,
[AX, H1, H2] = plotyy(Xdata, Y1data, Xdata, Y2data, 'loglog', 'loglog');
uistack(AX(1), 'up');
I want to annotate the graph using "line", and I want these lines to be behind the existing data.
I have tried the following code:
h_line = line(x, y);
uistack(h_line, 'bottom');
which places the line behind the data of the left y-axis (i.e. AX(1)), but still on top of the data of the right y-axis (i.e. AX(2)).
Does anyone know how to change the stacking order of annotation objects such that they lay behind all existing data made using PLOTYY?
Thanks,
Luca
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Two y-axis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!