- 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
7 次查看(过去 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!