Logo Search packages:      
Sourcecode: qtoctave version File versions  Download package

void Operations::hist_callback (  )  [slot]

Callback for histogram menu. Shows dialog for histogram.

Definition at line 1276 of file operations.cpp.

References compex_comand().

{
      QStringList parameters_labels;
      parameters_labels << "Vector of values" << "Vector with the centers of the bins or number with the number of bins" << "Normal";
      QStringList parameters;
      parameters << "" << "" << "";
      QStringList output_labels;
      QStringList output;
      QString help(
                  "Given a second scalar argument, use that as the number of bins.<br>"
                  "Given a second vector argument, use that as the centers of the bins, with the width of the bins determined from the adjacent values in the vector.<br>"
                  "If third argument is provided, the histogram is normalised such that the sum of the bars is equal to norm.<br>"
                );
      
      compex_comand("Histogram", "hist", parameters_labels, parameters, output_labels, output,help,false,true);
}


Generated by  Doxygen 1.6.0   Back to index