ZoomPlot

Version 1.5.1 (1.42 MB) by Kepeng Qiu
MATLAB Code for Interactive Magnification of Customized Regions.
2.9K Downloads
Updated 5 Feb 2024

ZoomPlot

MATLAB Code for Interactive Magnification of Customized Regions.

Version 1.5.1, 5-FEB-2024

Email: iqiukp@outlook.com


✨ Main features

  • Easy application with just two lines of code
  • Interactive plotting
  • Support for image and figure classes
  • Support for multiple zoomed zones
  • Custom settings of parameters and themes

⚠️ Requirements

  • R201Bb and later releases
  • Image Processing Toolbox

👉 How to use

  1. Add BaseZoom.m and parameters.json to MATLAB search path or current working directory
  2. After completing the basic drawing, enter the following two lines of code in the command line window or your m-file:
% add a zoomed zone
zp = BaseZoom();
zp.run;

if multiple zoomed zones are required, for example, 3 zoomed zones, the code is as follows:

% add 3 zoomed zones
zp = BaseZoom();
zp.run;
zp.run;
zp.run;

⚠️⚠️⚠️ For More details please see the manual.pdf.

✨ About manual.pdf:

The manual.pdf file is the official user manual for the ZoomPlot MATLAB code. It provides users with detailed instructions on using the code, including the syntax, descriptions, example code, and requirements to run the ZoomPlot for interactive magnification of plots and images within MATLAB.

  • Introduction
  • Syntax
  • Description
  • Files
  • Requirements
  • Preparations
  • Examples
    • Interactive Local Magnification for Figure Class
    • Implement Multiple Local Magnifications for Figure Class
    • Specify Axes for Local Magnification for Figure Class
    • Manually Set SubAxes and Zoom Area for Figure Class
    • Manually ZoomPlot in Sub Plots for Figure Class
    • Interactive Local Magnification for Image Class
    • Manually Set Zoom Area for Image Class
  • Parameter Configuration
    • Sub Axes Theme
    • Zoomed Area Theme
    • Dynamic Rectangle Theme
    • Connection Lines Theme
    • More Parameter Configuration

👉 Examples for image class

Multiple types of image are supported for interactive magnification of customized regions in the ZoomPlot.

👉 Examples for figure class

Multiple zoomed zones are supported for figure class.

Star History

Star History Chart

Cite As

Kepeng Qiu (2024). ZoomPlot (https://github.com/iqiukp/ZoomPlot-MATLAB/releases/tag/v1.5.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with R2016a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.5.1

See release notes for this release on GitHub: https://github.com/iqiukp/ZoomPlot-MATLAB/releases/tag/v1.5.1

1.5

See release notes for this release on GitHub: https://github.com/iqiukp/ZoomPlot-MATLAB/releases/tag/v1.5

1.3.1

See release notes for this release on GitHub: https://github.com/iqiukp/ZoomPlot-MATLAB/releases/tag/v1.3.1

1.3

See release notes for this release on GitHub: https://github.com/iqiukp/ZoomPlot-MATLAB/releases/tag/v1.3

1.2.1

See release notes for this release on GitHub: https://github.com/iqiukp/ZoomPlot/releases/tag/v1.2.1

1.1

See release notes for this release on GitHub: https://github.com/iqiukp/ZoomPlot/releases/tag/v1.1

1.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.