smoothplot.m

Enables graphical manual curve fitting of plot data.
4.5K Downloads
Updated 11 Apr 2006

No License

This function is meant to be used for manually smoothing a scattered line (when all other "smooth" functions fail). The idea is to define a spline curve representing the original line. The edge points for the spline line are added by clicking into the axes and are graphically represented by "o" markers. The shape of the spline line can be easily controlled by click&drag on existing edge points. Moving existing markers is possible in between neighbouring edge points. If a marker is moved too close to a neighbour it is deleted. The intial spline line is a straight line connecting the two line ends.

is a straight line connecting the two line ends.

Cite As

Martin Lohrmann (2024). smoothplot.m (https://www.mathworks.com/matlabcentral/fileexchange/6845-smoothplot-m), MATLAB Central File Exchange. Retrieved .

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

Inspired by: moveplot.m

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

is now able to work with both XY lines (view(0,90)) and XZ lines (view(0,0)).