Awesome
<p align="center"> <img src="http://github-files-qiu.oss-cn-beijing.aliyuncs.com/ZoomPlot-MATLAB/figure-1.gif"> </p> <h3 align="center">ZoomPlot</h3> <p align="center">MATLAB Code for Interactive Magnification of Customized Regions.</p> <p align="center">Version 1.5.1, 5-FEB-2024</p> <p align="center">Email: iqiukp@outlook.com</p> <div align=center> <img src="https://img.shields.io/github/v/release/iqiukp/ZoomPlot?label=version" /> <img src="https://img.shields.io/github/repo-size/iqiukp/ZoomPlot" /> <img src="https://img.shields.io/github/languages/code-size/iqiukp/ZoomPlot" /> <img src="https://img.shields.io/github/languages/top/iqiukp/ZoomPlot" /> <img src="https://img.shields.io/github/stars/iqiukp/ZoomPlot" /> <img src="https://img.shields.io/github/forks/iqiukp/ZoomPlot" /> </div> <hr />✨ 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
- Add
BaseZoom.m
andparameters.json
to MATLAB search path or current working directory - 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.
<p align="center"> <img src="https://github-files-qiu.oss-cn-beijing.aliyuncs.com/ZoomPlot-MATLAB/figure_group.gif" width = "60%"> </p>