- 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 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Scott
am 18 Feb. 2014
Kommentiert: Scott
am 20 Feb. 2014
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 Kommentare
Akzeptierte Antwort
per isakson
am 18 Feb. 2014
Bearbeitet: per isakson
am 18 Feb. 2014
Without understanding your requirements in detail:
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Two y-axis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!