This function does not require any toolbox (thanks to some functions by Star Strider). The second advantage of this function is that it returns all the handles in a struct so it is easy to modify any object (changing the text sizes, or changing the plot type).
Rik (2019). BlandAltmanPlot (https://www.mathworks.com/matlabcentral/fileexchange/71052-blandaltmanplot), MATLAB Central File Exchange. Retrieved .
Inspired by: ifversion