7.11. DAE Tools Plotter

7.11.1. Overview

7.11.2. Classes

class daetools.dae_plotter.plotter.daeMainWindow(tcpipServer)[source]

Bases: PyQt5.QtWidgets.QMainWindow

plot2D(updateInterval=0)[source]
plot2DAnimated()[source]
slotAbout()[source]
slotAnimateVTKFiles_2D()[source]
slotCustomPlots()[source]
slotDocumentation()[source]
slotFromUserData()[source]
slotOpenTemplate()[source]
slotOpenVTK_2D()[source]
slotPlot2D()[source]
slotPlot2DAutoUpdate()[source]
slotPlot3D()[source]
slotSaveVTKFilesAsImages_2D()[source]
daetools.dae_plotter.plotter.daeStartPlotter(port=0)[source]
class daetools.dae_plotter.plot2d.dae2DPlot(parent, tcpipServer, updateInterval=0, animated=False)[source]

Bases: PyQt5.QtWidgets.QDialog

addLine(xAxisLabel, yAxisLabel, xPoints, yPoints, label, pd)[source]
closeEvent(event)[source]
exportVideo()[source]
newAnimatedCurve()[source]
newCurve()[source]
newCurveFromUserData(xAxisLabel, yAxisLabel, lineLabel, xPoints, yPoints)[source]
newFromTemplate(template)[source]

template is a dictionary:

{
    'curves' : [variableName, domainIndexes, domainPoints, lineTitle, style],
    'updateInterval' : float,
    'xlabel' : string,
    'xmin' : float,
    'xmax' : float,
    'xscale' : string [linear, log],
    'xtransform': float,
    'ylabel' : string,
    'ymin' : float,
    'ymax' : float,
    'yscale' : string [linear, log],
    'ytransform': float,
    'legendOn' : Bool,
    'gridOn' : Bool,
    'plotTitle' : string,
    'windowTitle' : string
    'xmin_policy': int,
    'xmax_policy': int,
    'ymin_policy': int,
    'ymax_policy': int
}
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]
class daetools.dae_plotter.plot2d.daePlot2dDefaults(color='black', linewidth=0.5, linestyle='solid', marker='o', markersize=6, markerfacecolor='black', markeredgecolor='black')[source]

Bases: object

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/>. ****************************************************************************

daetools.dae_plotter.plot_options.col2hex(color)[source]

Convert matplotlib color to hex

daetools.dae_plotter.plot_options.figure_edit(canvas, parent=None)[source]

Edit matplotlib figure options

daetools.dae_plotter.plot_options.surface_edit(canvas, parent=None)[source]

Edit matplotlib figure options