GUI for manipulating data in a figure
No License
GUI to move a selected data point upward or downward by a user-defined amount
% Input: nfig -- the number of the figure
% Use: 1. push the "Select" button
% 2. move the mouse unto th figure to select a data point to be
% moved
% 3. push "Up" or "Down" button to move the data point
% 4. push "Undo" button to cancel the previous move
% 5. change the delty if needed
%
% Note: This function is not to be used against the rule "data is data"; rather, it is to help one
% to plot data correctly, e.g. when plotting phase vs frequency in
% spectrum analysis, one may need to move some phase data by 360,
% 2*pi, or 1 depending on the unit of the phase is degree, radian or
% period.
%
% These codes are also a good example of GUI development
Cite As
Hongxue Cai (2025). GUI for manipulating data in a figure (https://www.mathworks.com/matlabcentral/fileexchange/10250-gui-for-manipulating-data-in-a-figure), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | improvement for considering different data length of different ilnes in the figure |