Mouse Functions Over Axes on Top of Each Other

1 visualización (últimos 30 días)
Felipe Dicker
Felipe Dicker el 8 de Abr. de 2025
Respondida: Walter Roberson el 8 de Abr. de 2025
I have a GUI in AppDesigner in which I have 2 axes objects on top of each other (i.e.: their position property is the same). I am plotting a curve on the "bottom" axes and I use the "top" axis only for formatting purposes, such as having additional X and Y rulers on the graph with different scaling, colors, units, etc.
Is there a way to keep the usual mouse functions working, such as drag-to-pan, scroll-to-zoom and marking points on the curve by clicking? These functions no longer work properly because they act only on the axis on top, which is the one where there are no curves effectively being plotted.

Respuestas (1)

Walter Roberson
Walter Roberson el 8 de Abr. de 2025

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by