image thumbnail


version (2.27 KB) by Jordi Palacin
Get/Copy plot lines from another figure


Updated 29 Jul 2008

View License

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

Cite As

Jordi Palacin (2022). getfigure.m (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!