#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <gsl/gsl_statistics.h>
#include <plplot/plplot.h>
#include "commands.h"
#include "common.h"
Include dependency graph for plotdata.c:
Data Structures | |
struct | def_file_dev |
An association between a file-name extension and a plotting device name. More... | |
Defines | |
#define | MAXTITLE 256 |
The maximum length of the plot title. | |
#define | CHANPTS 10 |
The number of points to draw per channel. | |
#define | DEFDEV "xwin" |
The default plplot output device. | |
Functions | |
int | finddomain (struct pf_data *d, struct pf_plot_params *p, struct pf_cal_fit *cal) |
Calculate the domain in channels if specified in calibrated units. | |
void | pf_plotdata (struct pf_data *d, struct pf_plot_params *p, struct pf_cal_fit *cal) |
Plot data. | |
void | pf_plotpeak (struct pf_data *d, struct pf_plot_params *p, struct pf_cal_fit *cal) |
Plot a given peak. | |
Variables | |
const struct def_file_dev | def_file_devs [] |
Mapping of file-name extensions to plotting device names. | |
const int | def_file_devsn = sizeof(def_file_devs)/sizeof(def_file_devs[0]) |
Number of entries in the def_file_devs array. |
|
The number of points to draw per channel.
|
|
The default plplot output device.
|
|
The maximum length of the plot title.
|
|
Calculate the domain in channels if specified in calibrated units.
|
Here is the call graph for this function:
|
Plot data.
|
Here is the call graph for this function:
|
Plot a given peak.
|
Here is the call graph for this function:
|
Initial value: { { "plmeta", "plmeta" }, { "plm", "plmeta" }, { "ps", "ps" }, { "psc", "psc" }, { "xfig", "xfig" }, { "imp", "imp" }, { "pbm", "pbm" }, { "jpg", "jpeg" }, { "jpeg", "jpeg" }, { "png", "png" }, { "cgm", "cgm" } }
|
|
Number of entries in the def_file_devs array.
|