Select subplots with mouse, with visual feedback
Version 1.1.0.0 (1.96 KB) by
Matt Caywood
Click the mouse to select (and visibly toggle) multiple subplots. Returns subplot indices.
A very simple script that uses figure callbacks and openGL transparency to produce a visibly toggled state in subplots. Cousin to allowaxestogrow.m.
Cite As
Matt Caywood (2026). Select subplots with mouse, with visual feedback (https://uk.mathworks.com/matlabcentral/fileexchange/25838-select-subplots-with-mouse-with-visual-feedback), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14SP2
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Subplots in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
