src/taesooLib/PhysicsLib/mrdplotWrap.cpp
void MRDplot::initMRD(int n_channels, int numpoints, m_real freq)
{
	names.resize(n_channels);
	units.resize(n_channels);
	data.resize(numpoints, n_channels);
	setAllUnits("m");
	frequency=freq;
	for(int i=0; i<n_channels; i++)
		names[i].format("channel%d", i);
}
// names and units by default will be set as CHANNEL%d, m, respectively. 
// You can always modify them later.
names and units by default will be set as CHANNEL%d, m, respectively.
You can always modify them later.
names and units by default will be set as CHANNEL%d m respectively . You can always modify them later .
void MRDplot::initMRD(int n_channels, int numpoints, m_real freq)
{
	names.resize(n_channels);
	units.resize(n_channels);
	data.resize(numpoints, n_channels);
	setAllUnits("m");
	frequency=freq;
	for(int i=0; i<n_channels; i++)
		names[i].format("channel%d", i);
}
void MRDplot :: initMRD ( int n_channels , int numpoints , m_real freq ) { names . resize ( n_channels ) ; units . resize ( n_channels ) ; data . resize ( numpoints , n_channels ) ; setAllUnits ( " " ) ; frequency = freq ; for ( int i = 0 ; i < n_channels ; i ++ ) names [ i ] . format ( " " , i ) ; }
names and units by default will be set as CHANNEL%d, m, respectively.
names and units by default will be set as CHANNEL%d m respectively .