| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.16 Data distributions
These functions make distribution (histogram) of data. They do not draw the obtained data themselves. These functions can be useful if user have data defined for random points (for example, after PIC simulation) and he want to produce a plot which require regular data (defined on grid(s)). The range for grids is always selected as axis range Min...Max. Arrays x, y, z define the positions (coordinates) of random points. Array a define the data value. Number of points in output array res is selected as maximal value of res size and the value of FitPnts.
- Method on
mglGraph(C++, Python):voidHist (mglData &res,const mglData &x,const mglData &a) - C function:
intmgl_hist_x (HMGLgr,HMDTres,const HMDTx,const HMDTa) Creates 1D distribution of the data values a in range [Min, Max].
- Method on
mglGraph(C++, Python):voidHist (mglData &res,const mglData &x,const mglData &y,const mglData &a) - C function:
intmgl_hist_xy (HMGLgr,HMDTres,const HMDTx,const HMDTy,const HMDTa) Creates 2D distribution of the data values a in range [Min, Max].
- Method on
mglGraph(C++, Python):voidHist (mglData &res,const mglData &x,const mglData &y,const mglData &z,const mglData &a) - C function:
intmgl_hist_xyz (HMGLgr,HMDTres,const HMDTx,const HMDTy,const HMDTz,const HMDTa) Creates 3D distribution of the data values a in range [Min, Max].
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
