#include <stdio.h>#include <string.h>#include <math.h>#include <stdlib.h>#include <time.h>#include "libtpcmisc.h"#include "include/libtpcmodext.h"Go to the source code of this file.
Functions | |
| int | plot_fitrange_svg (DFT *dft1, DFT *dft2, char *main_title, double x1, double x2, double y1, double y2, char *fname) |
| int | plot_fit_svg (DFT *dft1, DFT *dft2, char *main_title, char *fname) |
| int plot_fit_svg | ( | DFT * | dft1, |
| DFT * | dft2, | ||
| char * | main_title, | ||
| char * | fname | ||
| ) |
Writes plots of original and fitted TACs in SVG 1.1 format. Data must not contain NaNs.
| dft1 | Measured data points |
| dft2 | Fitted data points. Times can be different but unit must be the same. |
| main_title | String for plot main title, or NULL |
| fname | SVG filename; existing file is backed up |
Definition at line 214 of file plotfit.c.
References MODEXT_TEST.
| int plot_fitrange_svg | ( | DFT * | dft1, |
| DFT * | dft2, | ||
| char * | main_title, | ||
| double | x1, | ||
| double | x2, | ||
| double | y1, | ||
| double | y2, | ||
| char * | fname | ||
| ) |
Writes specified range of plots of original and fitted TACs in SVG 1.1 format.
| dft1 | Measured data points |
| dft2 | Fitted data points. Times can be different but unit must be the same. |
| main_title | String for plot main title, or NULL |
| x1 | Start time; NaN if determined from data |
| x2 | End time; NaN if determined from data |
| y1 | Minimum y value; NaN if determined from data |
| y2 | Maximum y value; NaN if determined from data |
| fname | SVG filename; existing file is backed up |
Definition at line 57 of file plotfit.c.
References MODEXT_TEST.
1.8.0