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

void Operations::bar_callback (  )  [slot]

Callback for bar graph menu. Shows dialog for bar graph.

Definition at line 1293 of file operations.cpp.

References compex_comand().

{
      QStringList parameters_labels;
      parameters_labels << "x" << "y";
      QStringList parameters;
      parameters << "" << "";
      QStringList output_labels;
      QStringList output;
      QString help(
                  "Given two vectors of x-y data, bar produces a bar graph.<br>"
                  "If only one argument is given, it is taken as a vector of y-values and the x coordinates are taken to be the indices of the elements."
                );
      
      compex_comand("Bar Graph", "bar", parameters_labels, parameters, output_labels, output,help,false,true);
}


Generated by  Doxygen 1.6.0   Back to index