Zoom Plot

Create zoom-axes in Matlab figures.
359 Downloads
Updated 10 May 2021

Usage:
Download the file and have 'zoom_plot.m' on the Matlab path.
Use [zoom_utils] = zoom_plot(ax) to create a set of axes inside the parent axes ax.
Optional settings can be given passed through via zoom_plot(ax,options). See the example code.
The new axes object can be moved around via drag-and-drop. Make sure to not have any plot tools, like zoom/pan/... active.
You can even zoom/pan in the new axes object. The rectangle will automatically be updated! Click once on the plot, to re-align the arrows.
You can use the zoom_plot function on the new axes to create multiple levels of zoom

Cite As

Michael Zauner (2024). Zoom Plot (https://github.com/Zaunmich/matlab_zoom_plot), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b to R2021a
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.