- 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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Scott
el 18 de Feb. de 2014
Comentada: Scott
el 20 de Feb. de 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 comentarios
Respuesta aceptada
per isakson
el 18 de Feb. de 2014
Editada: per isakson
el 18 de Feb. de 2014
Without understanding your requirements in detail:
Más respuestas (0)
Ver también
Categorías
Más información sobre Two y-axis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!