image thumbnail

Jeweler's Loupe

version 1.0.0.1 (2.53 KB) by Daniel Sternberg
A Jeweler's Loupe tool that provides a magnified view of a plot.

1.7K Downloads

Updated 01 Sep 2016

View License

JEWELERSLOUPE modifies a figure to enable a Jeweler's Loupe tool.
JEWELERSLOUPE(FIG) will modify the figure with handle FIG to allow a
jeweler's loupe tool, which magnifies the axes by a factor of 4, to
appear whenever a user clicks on an axes. Dragging will cause the loupe
to follow the cursor. The tool assumes that any axes clicked will be a
linear 2-D axes. Performance will degrade as the amount of data in the
axes increates. If no figure is given, the loupe will appear in the
current figure.
Example:
plot(magic(3));
jewelersLoupe(gcf);

Cite As

Daniel Sternberg (2021). Jeweler's Loupe (https://www.mathworks.com/matlabcentral/fileexchange/21119-jeweler-s-loupe), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: On-figure magnifier

Community Treasure Hunt

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

Start Hunting!