|
TPCCLIB
|
Write linear plot data and fitted lines in HTML tables or SVG plots. More...
#include "libtpcmodext.h"Go to the source code of this file.
Functions | |
| int | plot_svg (DFT *dft, RES *res, int first, int last, char *main_title, char *x_title, char *y_title, int color_scale, char *fname, int verbose) |
| int | plotdata (DFT *dft, RES *res, int first, int last, char *mtitle, char *xtitle, char *ytitle, char *fname) |
| int | plotdata_as_dft (DFT *dft, char *fname) |
Write linear plot data and fitted lines in HTML tables or SVG plots.
Definition in file plotdata.c.
| int plot_svg | ( | DFT * | dft, |
| RES * | res, | ||
| int | first, | ||
| int | last, | ||
| char * | main_title, | ||
| char * | x_title, | ||
| char * | y_title, | ||
| int | color_scale, | ||
| char * | fname, | ||
| int | verbose ) |
Writes graphical analysis plots in SVG 1.1 format. Assumes that line slope and ic are in res->parameter[0] and [1].
| dft | Plot points: X in y2, Y in y3. |
| res | Results containing parameters of line. |
| first | First sample (starting from 0) used in linear fit. |
| last | last sample (starting from 0) used in linear fit. |
| main_title | String for plot main title, or NULL. |
| x_title | String for X axis title, or NULL. |
| y_title | String for Y axis title, or NULL. |
| color_scale | Colour-scale: 0=colour, 2=black-and-white. |
| fname | File name for SVG; existing file is renamed as *.bak. |
| verbose | Verbose level; if zero, then nothing is printed to stderr or stdout. |
Definition at line 17 of file plotdata.c.
| int plotdata | ( | DFT * | dft, |
| RES * | res, | ||
| int | first, | ||
| int | last, | ||
| char * | mtitle, | ||
| char * | xtitle, | ||
| char * | ytitle, | ||
| char * | fname ) |
Write plot and line fit data in XHTML 1.1. Strict table format. Assumes that line slope and ic are in res->parameter[0] and [1].
| dft | Plot points: X in y2, Y in y3. |
| res | Results containing parameters of line. |
| first | First sample (starting from 0) used in linear fit. |
| last | last sample (starting from 0) used in linear fit. |
| mtitle | String for plot main title, or NULL. |
| xtitle | String for X axis title, or NULL. |
| ytitle | String for Y axis title, or NULL. |
| fname | Filename for plot data; existing file is renamed as *%. If extension is .dft, plot data (excluding lines) is written in DFT format with x values as separate columns before corresponding y values. |
Definition at line 217 of file plotdata.c.
| int plotdata_as_dft | ( | DFT * | dft, |
| char * | fname ) |
Write plot data in DFT format with x values as separate columns before corresponding y values.
| dft | Plot points: X in y2, Y in y3. |
| fname | File name for plot data. |
Definition at line 412 of file plotdata.c.
Referenced by plotdata().