- This is too much to do with Matlab
- The new version of graphics, HG2, might appear in a couple of weeks in R2014a.
- See Undocumented Matlab
- I recall vaguely that the order of the axes-handles in the property, Children, of the parent affects the rendering (z-order).
- "old axes moves to the 'front' and covers up the new axes" That's intended behavior; doc says: If HitTest is off, clicking the axes selects the object below it.
- "show the user which axes is the current axes" is that among axes, which are on top of each other? That would be more like "layers".
Force axes to always be on top of another axes
4 ビュー (過去 30 日間)
古いコメントを表示
I'm developing a data review tool that allows the user to create many plots in a figure. When an axes is clicked, the color changes to show the user which axes is the current axes for additional graphing tools (Add more data, scale the data, etc.).
I'd like to give the option to plot differently scaled data on the same axes but with different Y axes scaling. I tried to use plotyy but it doesn't allow me to continue to manipulate the data so I am trying to develop my own version.
Here's my problem: I create the new axes with Color = 'none' and HitTest = 'off'. When clicking on those axes, the old axes moves to the 'front' and covers up the new axes. How do I force the new axes to always be on top so the color management and callbacks can still be managed via the original axes.
Thanks for any insight! Scott
0 件のコメント
採用された回答
per isakson
2014 年 2 月 18 日
編集済み: per isakson
2014 年 2 月 18 日
Without understanding your requirements in detail:
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Two y-axis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!