Bland Altman Plot

Plots a Bland Altman plot. You can control what is and what is not plotted through 'flag'.
3.3K Downloads
Updated 5 Jul 2009

View License

%%%Plots a Bland-Altman Plot
%%%INPUTS:
%%% var1 and var2 - vectors of the measurements
%%%flag - how much you want to plot
%%% 0 = no plot
%%% 1 = just the data
%%% 2 = data and the difference and CR lines
%%% 3 = above and a linear fit
%%%
%%%OUTPUTS:
%%% means = the means of the data
%%% diffs = the raw differences
%%% meanDiff = the mean difference
%%% CR = the 2SD confidence limits
%%% linfit = the paramters for the linear fit

Cite As

David Cumin (2026). Bland Altman Plot (https://in.mathworks.com/matlabcentral/fileexchange/24645-bland-altman-plot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Descriptive Statistics and Visualization in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0