magnify 2D

Version (2.84 KB) by LY Cao
Easily create magnifier axis with cliking,dragging and scrolling
Updated 18 Oct 2012

View License

h: Figure handle,default: gcf
1 Draw a rectangle by dragging open a box to create a magnifier axis
2 Click and dragging move the axis
3 Scroll to magnify the graph in magnifier axis
4 Press ESC to freeze the graph in magnifier axis; dragging and moving
axis are still availible, but scrolling is not
5 Press ESC again to end
Note: Magnifier axes are tagged 'Magnifier'(for findobj/findall)
Supported only for 2D graph

Cite As

LY Cao (2024). magnify 2D (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Visual Exploration in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes