Go to the source code of this file.
Functions | |
void | gpiv_null_scdata (GpivScalarData *scal_data) |
GpivScalarData * | gpiv_alloc_scdata (const gint nx, const gint ny) |
void | gpiv_free_scdata (GpivScalarData *scal_data) |
gchar * | gpiv_scalar_gnuplot (const gchar *fname_out, const gchar *title, const gchar *GNUPLOT_DISPLAY_COLOR, const gint GNUPLOT_DISPLAY_SIZE) |
void | gpiv_null_bindata (GpivBinData *bin_data) |
GpivBinData * | gpiv_alloc_bindata (const guint nbins) |
void | gpiv_free_bindata (GpivBinData *bin_data) |
void | gpiv_histo (const GpivPivData *data, GpivBinData *klass) |
void | gpiv_cumhisto (const GpivPivData *data, GpivBinData *klass) |
gchar * | gpiv_histo_gnuplot (const gchar *fname_out, const gchar *title, const gchar *GNUPLOT_DISPLAY_COLOR, const gint GNUPLOT_DISPLAY_SIZE) |
SOURCES: lib/post_utils.c
LAST MODIFICATION DATE:
Definition in file gpiv-post_utils.h.
GpivBinData* gpiv_alloc_bindata | ( | const guint | nbins | ) |
Allocates memory for GpivBinData.
[in] | nbins | number of bins or klasses in GpivBinData |
GpivScalarData* gpiv_alloc_scdata | ( | const gint | nx, | |
const gint | ny | |||
) |
Allocates memory for GpivScalarData.
[in] | nx | columns array length of GpivScalarData |
[in] | ny | row array length of GpivScalarData structure |
void gpiv_cumhisto | ( | const GpivPivData * | data, | |
GpivBinData * | klass | |||
) |
Calculates cumulative histogram from GpivPivData (NOT from GpivScalarData!!).
[in] | data | Input data |
[out] | klass | Output data |
void gpiv_free_bindata | ( | GpivBinData * | bin_data | ) |
Frees memory for GpivBinData.
[in] | bin_data | data of bins |
[out] | bin_data | NULL pointer to count, bound, centre |
void gpiv_free_scdata | ( | GpivScalarData * | scal_data | ) |
Frees memory for GpivScalarData.
[in] | scal_data | scalar data structure |
[out] | scal_data | NULL pointer to point_x, point_y, scalar, flag |
void gpiv_histo | ( | const GpivPivData * | data, | |
GpivBinData * | klass | |||
) |
Calculates histogram from GpivPivData (NOT from GpivScalarData!!).
[in] | data | Input data |
[out] | klass | Output data |
gchar* gpiv_histo_gnuplot | ( | const gchar * | fname_out, | |
const gchar * | title, | |||
const gchar * | GNUPLOT_DISPLAY_COLOR, | |||
const gint | GNUPLOT_DISPLAY_SIZE | |||
) |
Plots histogram on screen with gnuplot.
[in] | fname_out | output filename |
[in] | title | plot title |
[in] | GNUPLOT_DISPLAY_COLOR | display color of window containing graph |
[in] | GNUPLOT_DISPLAY_SIZE | display size of window containing graph |
void gpiv_null_bindata | ( | GpivBinData * | bin_data | ) |
Sets all elements of bin_data structure to NULL.
[in] | bin_data | Input Bin data structure |
[out] | bin_data | Output Bin data structure |
void gpiv_null_scdata | ( | GpivScalarData * | scal_data | ) |
Sets all elements of sc_data structure to NULL.
[in] | scal_data | Input Scalar data structure |
[out] | scal_data | Output Scalar data structure |
gchar* gpiv_scalar_gnuplot | ( | const gchar * | fname_out, | |
const gchar * | title, | |||
const gchar * | GNUPLOT_DISPLAY_COLOR, | |||
const gint | GNUPLOT_DISPLAY_SIZE | |||
) |
Graphical output with gnuplot for scalar data.
[in] | fname_out | file name containing plot |
[in] | title | title of plot |
[in] | GNUPLOT_DISPLAY_COLOR | display color of window containing graph |
[in] | GNUPLOT_DISPLAY_SIZE | display size of window containing graph |