14 #include "msdevstudio/MSconfig.h"
32 using namespace hippodraw;
34 #ifdef ITERATOR_MEMBER_DEFECT
37 using std::accumulate;
48 m_y_option (
"Y error (optional)" )
63 m_x_label ( projector.m_x_label )
86 valueAt ( row,
m_columns[0] ) ) ) yes =
false;
95 const string name (
"Y error" );
96 vector< string >:: iterator first
146 return m_ntuple -> empty () ? DBL_MAX : 1.0;
166 namespace dp = hippodraw::DataPoint2DTuple;
176 unsigned int col = 2;
193 const vector < double > &
data = ntuple -> getColumn ( col );
195 unsigned int size = ntuple -> rows ();
197 sum = accumulate ( data.begin(), data.end(), sum );
211 unsigned int columns = 4;
214 vector < string > labels;
215 labels.push_back (
"X" );
216 labels.push_back (
"Value" );
236 ntuple -> reserve ( size );
239 for (
unsigned int i = 0; i <
size; i++ ) {
241 inRange ( i ) ==
false )
continue;
246 = y_err < UINT_MAX ? (
m_ntuple -> valueAt ( i, y_err ) ) : 0.0;
249 ntuple -> addRow ( row );