Master Thesis Code
by Simon Moser
Loading...
Searching...
No Matches
comparison_plot.m File Reference

Go to the source code of this file.

Functions

function comparison_plot (in gt_vec, in meas_vec, in i_step, in filename, in options)
 create a comparison plot
 

Function Documentation

◆ comparison_plot()

function comparison_plot ( in gt_vec,
in meas_vec,
in i_step,
in filename,
in options )

create a comparison plot

this function creates a modified bland-altman plot from two vectors. the plot is saved to a file or displayed.

Parameters
gt_vecvector with the ground truth values
meas_vecvector with the measured values
i_stepvector with the step indices
filenamefilename of the plot
optionsoptions for the plot
  • "title" (default: "Bland-Altman plot") title of the plot
  • "legend" (default: false) show a legend
  • "compare_ptps" (default: false) compare the PTPs
  • "ptp_vec" vector with the PTP numbers (only if "compare_ptps" is true)
Return values
mumean of the differences (cm)
sigmastandard deviation of the differences (cm)
msemean squared error of the differences (cm^2)