![]() |
![]() |
![]() |
gtk-hst reference manual | ![]() |
---|---|---|---|---|
HstProfileHstProfile — A object to study the dependency of one variable with respect to other by storing the mean value of the former w.r.t. the later. |
#include <gtk-hst/profile.h> HstProfile; HstProfileClass; HstProfile* hst_profile_new (int n, double xmin, double xmax, gdouble *ptr); void hst_profile_fill (HstProfile *hst, double x, double y, double w);
HstProfile* hst_profile_new (int n, double xmin, double xmax, gdouble *ptr);
This is a convenience function to create a HstProfile and setting its properties in one go.
|
number of bins in the histogram |
|
lower range of the X axis |
|
upper range of the X axis |
|
a pointer to an array of doubles. HstHistogram will use it internally as the contents of the histogram. It can be used to monitor a given array or to retrieve or fill the buffer with the contents of the histogram |
Returns : |
a HstProfile pointer |
void hst_profile_fill (HstProfile *hst, double x, double y, double w);
|
pointer of a HstProfile object |
|
value for X |
|
value for Y that will be averaged |
|
weight |