Mouse Functions Over Axes on Top of Each Other

조회 수: 2 (최근 30일)
Felipe Dicker
Felipe Dicker 2025년 4월 8일
답변: Walter Roberson 2025년 4월 8일
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.

답변 (1개)

Walter Roberson
Walter Roberson 2025년 4월 8일

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by