7.12. DAE Tools Plotter

7.12.1. Overview

7.12.2. Classes

class daeMainWindow(tcpipServer)[source]
getProcesses()[source]
plot2D(updateInterval=0)[source]
plot2DAnimated()[source]
plot2D_Var1_v_var2()[source]
slotAbout()[source]
slotAnimateVTKFiles_2D()[source]
slotCustomPlots()[source]
slotDocumentation()[source]
slotFromUserData()[source]
slotOpenProcess()[source]
slotOpenTemplate()[source]
slotOpenVTK_2D()[source]
slotPlot2D()[source]
slotPlot2DAutoUpdate()[source]
slotPlot3D()[source]
slotSaveProcess()[source]
slotSaveVTKFilesAsImages_2D()[source]
daeStartPlotter(port=0)[source]
class dae2DPlot(parent, updateInterval=0, animated=False)[source]
addLine(xAxisLabel, yAxisLabel, xPoints, yPoints, label, pd)[source]
closeEvent(self, QCloseEvent)[source]
exportVideo()[source]
newAnimatedCurve()[source]
newCurve()[source]
newCurveFromUserData(xAxisLabel, yAxisLabel, lineLabel, xPoints, yPoints)[source]
newFromTemplate(template)[source]

template is a dictionary:

{
 "curves": [
     [
     "variableName", 
     [
         1, 
         -1
     ], 
     [
         "0.05", 
         "*"
     ], 
     "variableName(0.05, *)", 
     {
         "color": [
         0.0, 
         0.0, 
         0.0, 
         1.0
         ], 
         "linestyle": "-", 
         "linewidth": 1.0, 
         "marker": "o", 
         "markeredgecolor": "#000000ff", 
         "markerfacecolor": "#000000ff", 
         "markersize": 0.0
     }
     ]
 ], 
 "gridOn": true, 
 "legendOn": true, 
 "plotTitle": "", 
 "plotType": 0, 
 "updateInterval": 0, 
 "windowTitle": "tutorial_dealii_8.ActiveSurface.cs(2.0, *)", 
 "xlabel": "y-cordinate", 
 "xmax": 31.45, 
 "xmax_policy": 0, 
 "xmin": -0.4500000000000002, 
 "xmin_policy": 0, 
 "xscale": "linear", 
 "xtransform": 1.0, 
 "ylabel": "cs (mol/m**2)", 
 "ymax": 0.34935417753491, 
 "ymax_policy": 1, 
 "ymin": -0.00938086024107475, 
 "ymin_policy": 1, 
 "yscale": "linear", 
 "ytransform": 1.0
}
newVar1_vs_Var2Curve()[source]
playAnimation()[source]
plotDefaults = [<daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>, <daetools.dae_plotter.plot2d.daePlot2dDefaults object>]
reformatPlot()[source]
showSelectProcessDialog(windowTitle, label, items)[source]
slotExportCSV()[source]
slotExportTemplate()[source]
slotFromUserData()[source]
slotProperties()[source]
slotRemoveLine()[source]
slotToggleGrid()[source]
slotToggleLegend()[source]
slotViewTabularData()[source]
stopAnimation()[source]
updateCurves()[source]
updateGrid()[source]
updateLegend()[source]
class daePlot2dDefaults(color='black', linewidth=0.5, linestyle='solid', marker='o', markersize=6, markerfacecolor='black', markeredgecolor='black')[source]
classmethod from_dict(d)[source]
to_dict()[source]

Copyright (C) Dragan Nikolic

Foundation. DAE Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the DAE Tools software; if not, see <http://www.gnu.org/licenses/>. ****************************************************************************

col2hex(color)[source]

Convert matplotlib color to hex

figure_edit(canvas, parent=None)[source]

Edit matplotlib figure options

surface_edit(canvas, parent=None)[source]

Edit matplotlib figure options