Trendlines

Version 1.0.0.0 (389 Bytes) by Nagi Hatoum
Draws a trendline or a line on a plot using the mouse
3.4K Downloads
Updated 5 Mar 2003

No License

Draws a trendline or a line on a plot using the mouse. First left click leaves a red dot, second left click connect the dots. Returns the XY pairs making the lines in the XY vector.

Cite As

Nagi Hatoum (2026). Trendlines (https://uk.mathworks.com/matlabcentral/fileexchange/3069-trendlines), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Line Plots in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0