Classes | |
class Line | |
class Plot | |
Functions | |
def addNavigationToolbar () | |
def addNewAxes (rect=None, frameon=True, patchcolor='none') | |
def axes () | |
def axesList () | |
def closePlot () | |
def delNavigationToolbar () | |
def figure (winTitle="plot") | |
def getMainWindow () | |
def getMdiArea () | |
def getPlot () | |
def grid (status=True) | |
def legend (status=True, pos=None, fontsize=None) | |
def plot (x, y, name=None) | |
def removeSerie (index) | |
def save (path, figsize=None, dpi=None) | |
def series () | |
def title (string) | |
def xlabel (string) | |
def ylabel (string) | |
Variables | |
msg | |
Function Documentation
◆ addNavigationToolbar()
def Plot.addNavigationToolbar | ( | ) |
References getPlot().
◆ addNewAxes()
def Plot.addNewAxes | ( | rect = None , |
|
frameon = True , |
|||
patchcolor = 'none' |
|||
) |
References getPlot().
Referenced by plotAxes.TaskPanel.TaskPanel.onNew(), shipCapacityCurve.PlotAux.Plot.plot(), shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().
◆ axes()
def Plot.axes | ( | ) |
References getPlot().
Referenced by shipAreasCurve.PlotAux.Plot.plot(), and shipGZ.PlotAux.Plot.plot().
◆ axesList()
def Plot.axesList | ( | ) |
References getPlot().
Referenced by shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().
◆ closePlot()
def Plot.closePlot | ( | ) |
References getMdiArea().
◆ delNavigationToolbar()
def Plot.delNavigationToolbar | ( | ) |
References getPlot().
◆ figure()
def Plot.figure | ( | winTitle = "plot" | ) |
References getMdiArea().
Referenced by shipAreasCurve.PlotAux.Plot.plot(), shipCapacityCurve.PlotAux.Plot.plot(), shipGZ.PlotAux.Plot.plot(), plot(), shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().
◆ getMainWindow()
def Plot.getMainWindow | ( | ) |
Referenced by getMdiArea().
◆ getMdiArea()
def Plot.getMdiArea | ( | ) |
References getMainWindow().
Referenced by closePlot(), figure(), and getPlot().
◆ getPlot()
def Plot.getPlot | ( | ) |
References getMdiArea().
Referenced by plotSave.TaskPanel.TaskPanel.accept(), PlotGui.Grid.Activated(), PlotGui.Legend.Activated(), addNavigationToolbar(), addNewAxes(), axes(), axesList(), delNavigationToolbar(), grid(), legend(), plotAxes.TaskPanel.TaskPanel.onAlign(), plotLabels.TaskPanel.TaskPanel.onAxesId(), plotAxes.TaskPanel.TaskPanel.onAxesId(), plotSeries.TaskPanel.TaskPanel.onColor(), plotPositions.TaskPanel.TaskPanel.onData(), plotSeries.TaskPanel.TaskPanel.onData(), plotAxes.TaskPanel.TaskPanel.onDims(), plotLabels.TaskPanel.TaskPanel.onFontSizes(), plotLabels.TaskPanel.TaskPanel.onLabels(), plotPositions.TaskPanel.TaskPanel.onMdiArea(), plotSave.TaskPanel.TaskPanel.onMdiArea(), plotLabels.TaskPanel.TaskPanel.onMdiArea(), plotSeries.TaskPanel.TaskPanel.onMdiArea(), plotAxes.TaskPanel.TaskPanel.onMdiArea(), plotAxes.TaskPanel.TaskPanel.onNew(), plotAxes.TaskPanel.TaskPanel.onOffset(), plotSeries.TaskPanel.TaskPanel.onRemove(), plotAxes.TaskPanel.TaskPanel.onRemove(), plotAxes.TaskPanel.TaskPanel.onScales(), plot(), removeSerie(), save(), series(), title(), plotSave.TaskPanel.TaskPanel.updateUI(), plotPositions.TaskPanel.TaskPanel.updateUI(), plotLabels.TaskPanel.TaskPanel.updateUI(), plotSeries.TaskPanel.TaskPanel.updateUI(), plotAxes.TaskPanel.TaskPanel.updateUI(), xlabel(), and ylabel().
◆ grid()
def Plot.grid | ( | status = True | ) |
References getPlot().
Referenced by PlotGui.Grid.Activated(), shipAreasCurve.PlotAux.Plot.plot(), shipCapacityCurve.PlotAux.Plot.plot(), shipGZ.PlotAux.Plot.plot(), shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().
◆ legend()
def Plot.legend | ( | status = True , |
|
pos = None , |
|||
fontsize = None |
|||
) |
References getPlot(), and series().
Referenced by PlotGui.Legend.Activated(), plotPositions.TaskPanel.TaskPanel.onData(), shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().
◆ plot()
def Plot.plot | ( | x, | |
y, | |||
name = None |
|||
) |
References figure(), and getPlot().
Referenced by shipAreasCurve.PlotAux.Plot.plot(), shipCapacityCurve.PlotAux.Plot.plot(), shipGZ.PlotAux.Plot.plot(), shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().
◆ removeSerie()
def Plot.removeSerie | ( | index | ) |
References getPlot().
Referenced by plotSeries.TaskPanel.TaskPanel.onRemove().
◆ save()
def Plot.save | ( | path, | |
figsize = None , |
|||
dpi = None |
|||
) |
References getPlot().
Referenced by plotSave.TaskPanel.TaskPanel.accept().
◆ series()
def Plot.series | ( | ) |
References getPlot().
Referenced by legend(), plotSeries.TaskPanel.TaskPanel.onColor(), plotSeries.TaskPanel.TaskPanel.onData(), plotSeries.TaskPanel.TaskPanel.onRemove(), plotSeries.TaskPanel.TaskPanel.setList(), and plotSeries.TaskPanel.TaskPanel.updateUI().
◆ title()
def Plot.title | ( | string | ) |
References getPlot().
Referenced by plotLabels.TaskPanel.TaskPanel.onLabels().
◆ xlabel()
def Plot.xlabel | ( | string | ) |
References getPlot().
Referenced by plotLabels.TaskPanel.TaskPanel.onLabels(), plotAxes.TaskPanel.TaskPanel.onOffset(), shipAreasCurve.PlotAux.Plot.plot(), shipCapacityCurve.PlotAux.Plot.plot(), shipGZ.PlotAux.Plot.plot(), shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().
◆ ylabel()
def Plot.ylabel | ( | string | ) |
References getPlot().
Referenced by plotLabels.TaskPanel.TaskPanel.onLabels(), plotAxes.TaskPanel.TaskPanel.onOffset(), shipAreasCurve.PlotAux.Plot.plot(), shipCapacityCurve.PlotAux.Plot.plot(), shipGZ.PlotAux.Plot.plot(), shipHydrostatics.PlotAux.Plot.plotCoeffs(), shipHydrostatics.PlotAux.Plot.plotStability(), and shipHydrostatics.PlotAux.Plot.plotVolume().