File Exchange

image thumbnail

Zoom Plot

version 1.0.0 (33.5 KB) by Michael Zauner
Create zoom-axes in Matlab figures.

10 Downloads

Updated 10 May 2021

From GitHub

View license on GitHub

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 (2021). Zoom Plot (https://github.com/Zaunmich/matlab_zoom_plot), GitHub. Retrieved .

Comments and Ratings (0)

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!