Average plot of data in a figure

Plot the mean of a figure without knowing original data
1.9K Downloads
Updated 13 Feb 2006

No License

Plot the mean of a figure (average on parameter), without knowing original data. The lines in the figure may have different x values.

Use: meanplot(n) or meanplot(gcf), where n is the figure number.

Cite As

Hongxue Cai (2026). Average plot of data in a figure (https://ch.mathworks.com/matlabcentral/fileexchange/9690-average-plot-of-data-in-a-figure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Object Properties in Help Center and MATLAB Answers
Acknowledgements

Inspired: Plot average line

Version Published Release Notes
1.0.0.0

Improved according to reviews