Bland Altman Plot

Plots a Bland Altman plot. You can control what is and what is not plotted through 'flag'.

You are now following this Submission

%%%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://www.mathworks.com/matlabcentral/fileexchange/24645-bland-altman-plot), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0