return ((PyObject *)ret == Py_True);
}
+ void CurvePlot::SetXSciNotation(PlotID plot_set_id, bool sci_notation)
+ {
+ PyLockWrapper lock;
+ PyObject * cont = GetInstance()->_impl->_controller;
+
+ PyObjWrapper ret(
+ PyObject_CallMethod(cont, (char *)"SetXSciNotation", (char *)"ii", plot_set_id, sci_notation ? 1 : 0));
+ HandleAndPrintPyError("CurvePlot::SetXSciNotation(): unexpected error!");
+ }
+
+ void CurvePlot::SetYSciNotation(PlotID plot_set_id, bool sci_notation)
+ {
+ PyLockWrapper lock;
+ PyObject * cont = GetInstance()->_impl->_controller;
+
+ PyObjWrapper ret(
+ PyObject_CallMethod(cont, (char *)"SetYSciNotation", (char *)"ii", plot_set_id, sci_notation ? 1 : 0));
+ HandleAndPrintPyError("CurvePlot::SetYSciNotation(): unexpected error!");
+ }
+
int CurvePlot::GetSalomeViewID(PlotID plot_set_id)
{
PyLockWrapper lock;
static CurvePlot * GetInstance(bool test_mode=false);
+ static void SetXSciNotation(PlotID plot_set_id, bool sci_notation=true);
+
+ static void SetYSciNotation(PlotID plot_set_id, bool sci_notation=true);
+
/**! Temporary ... */
static void OnSalomeViewTryClose(int salome_view_id);