Updated 26 Jan 2004
This function extends the functionality of moveplot.m. Invoke this function on an axes to enable the creation of data points for a line object by clicking on the axes. Use this program to build a data set graphically, from scratch. Points can be added by clicking on the axes, and deleted by right-clicking (or, for one-button mouse platforms, whatever you use to invoke a context menu). This function requires moveplot.m, also available from The MathWorks File Exchange.
Brandon Kuczenski (2023). addplot.m (https://www.mathworks.com/matlabcentral/fileexchange/795-addplot-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- MATLAB > Data Import and Analysis > Visual Exploration >
- MATLAB > Graphics > Graphics Objects > Graphics Object Properties >
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.
Updated: line 47 in code; replaced 'break' with 'return' to avoid warning. Thanks to Patrick.Drechsler at biozentrum dot uni-wuerzburg.de