Go to the source code of this file.
|
| function | comparison_plot (in gt_vec, in meas_vec, in i_step, in filename, in options) |
| | create a comparison plot
|
| |
◆ 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_vec | vector with the ground truth values |
| meas_vec | vector with the measured values |
| i_step | vector with the step indices |
| filename | filename of the plot |
| options | options 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
-
| mu | mean of the differences (cm) |
| sigma | standard deviation of the differences (cm) |
| mse | mean squared error of the differences (cm^2) |
- Copyright
- see the file LICENSE in the root directory of the repository