This function adds a new menu item in the current figure for easy import/copy of one (or all) plot line of another figure. Usage:
1- The destination figure must be the current (making a click over the figure)
2- In MATLAB prompt write >> getfigure
Then a new menu option appears in the current figure
3- If we want to add all data lines from another figure (or make a duplicate) select 'Get de complete Figure'
4- If we want to add one data line from another figure select 'Get one line'
5- 'Undo last Get' to undo last copy
6- To delete the menu from the figure write again >> getfigure
Jordi Palacin (2022). getfigure.m (https://www.mathworks.com/matlabcentral/fileexchange/3041-getfigure-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!