Public Member Functions | |
def | isGrid (self) |
def | isLegend (self) |
def | plot (self, x, y, name=None) |
def | setActiveAxes (self, index) |
def | update (self) |
Public Attributes | |
axes | |
axesList | |
canvas | |
fig | |
grid | |
legend | |
legPos | |
legSiz | |
mpl_toolbar | |
series | |
skip | |
Member Function Documentation
◆ isGrid()
def Plot.Plot.isGrid | ( | self | ) |
Return True if Grid is active, False otherwise.
References FaceQuadStruct::Side.grid, draftguitools.gui_snapper.Snapper.grid, ArchCutPlane._CutPlaneTaskPanel.grid, MeshPartGui::MeshCrossSection.grid, MeshPartGui::CurveOnMeshHandler::Private.grid, Plot.Plot.grid, ArchAxis._AxisTaskPanel.grid, ArchPrecast._PrecastTaskPanel.grid, ArchRoof._RoofTaskPanel.grid, ArchAxis.AxisSystemTaskPanel.grid, ArchWindow._ArchWindowTaskPanel.grid, ArchPrecast._DentsTaskPanel.grid, ArchSectionPlane.SectionPlaneTaskPanel.grid, MeshGui::Vertex.grid, ArchComponent.ComponentTaskPanel.grid, and DraftGui.FacebinderTaskPanel.grid.
◆ isLegend()
def Plot.Plot.isLegend | ( | self | ) |
Return True if Legend is active, False otherwise.
References Plot.Plot.legend.
◆ plot()
def Plot.Plot.plot | ( | self, | |
x, | |||
y, | |||
name = None |
|||
) |
Plot a new line and return it. Keyword arguments: x -- X values y -- Y values name -- Serie name (for legend).
References Plot.Line.axes, Plot.Plot.axes, ArchAxis._ViewProviderAxisSystem.axes, Plot.Plot.series, Gui::ViewProviderDocumentObjectPy.update(), MeshGui::MeshRenderer.update(), Mod.PartDesign.WizardShaft.ShaftDiagram.Diagram.update(), Gui::ViewProviderDocumentObject.update(), SMESHDS_GroupOnFilter.update(), Gui::DocumentPy.update(), MeshGui::MeshRenderer::Private.update(), ArchNesting.Nester.update(), PartDesign::SubShapeBinder.update(), FemGui::ViewProviderFemPostObject.update(), femtaskpanels.task_mesh_gmsh._TaskPanel.update(), femtaskpanels.task_solver_ccxtools._TaskPanel.update(), AddonManager.CommandAddonManager.update(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.update(), Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.update(), draftguitools.gui_trackers.rectangleTracker.update(), ArchPanel.CommandPanel.update(), ArchWindow._CommandWindow.update(), App::LinkBaseExtension.update(), draftguitools.gui_trackers.dimTracker.update(), Gui::ViewProvider.update(), draftguitools.gui_trackers.bsplineTracker.update(), ArchWall._CommandWall.update(), Gui::LinkInfo.update(), draftguitools.gui_trackers.bezcurveTracker.update(), Plot.Plot.update(), ArchStructure._CommandStructure.update(), femtaskpanels.task_result_mechanical._TaskPanel.update(), draftguitools.gui_trackers.ghostTracker.update(), ArchAxis._AxisTaskPanel.update(), ArchRoof._RoofTaskPanel.update(), draftguitools.gui_trackers.wireTracker.update(), ArchAxis.AxisSystemTaskPanel.update(), draftguitools.gui_edit.Edit.update(), draftguitools.gui_trackers.gridTracker.update(), ArchCommands.SurveyTaskPanel.update(), draftguitools.gui_trackers.boxTracker.update(), draftguitools.gui_trackers.radiusTracker.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), ArchAxis.ArchGridTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), and DraftGui.FacebinderTaskPanel.update().
◆ setActiveAxes()
def Plot.Plot.setActiveAxes | ( | self, | |
index | |||
) |
Change the current active axes. Keyword arguments: index -- Index of the new active axes set.
References Plot.Line.axes, Plot.Plot.axes, ArchAxis._ViewProviderAxisSystem.axes, Plot.Plot.axesList, and Plot.Plot.fig.
◆ update()
def Plot.Plot.update | ( | self | ) |
Update the plot, redrawing the canvas.
References Plot.Plot.canvas, Plot.Plot.legend, Plot.Plot.legPos, Plot.Plot.legSiz, and Plot.Plot.skip.
Referenced by Spreadsheet_legacy.SpreadsheetView.changeCell(), ArchAxis.CommandArchGrid.IsActive(), Plot.Plot.plot(), and Spreadsheet_legacy.SpreadsheetView.recompute().
Member Data Documentation
◆ axes
Plot.Plot.axes |
Referenced by Plot.Plot.plot(), and Plot.Plot.setActiveAxes().
◆ axesList
Plot.Plot.axesList |
Referenced by Plot.Plot.setActiveAxes().
◆ canvas
Plot.Plot.canvas |
Referenced by Mod.Test.unittestgui.ProgressBar.paint(), and Plot.Plot.update().
◆ fig
Plot.Plot.fig |
Referenced by Plot.Plot.setActiveAxes().
◆ grid
Plot.Plot.grid |
Referenced by ArchAxis.CommandArchGrid.IsActive(), and Plot.Plot.isGrid().
◆ legend
Plot.Plot.legend |
Referenced by Plot.Plot.isLegend(), and Plot.Plot.update().
◆ legPos
Plot.Plot.legPos |
Referenced by Plot.Plot.update().
◆ legSiz
Plot.Plot.legSiz |
Referenced by Plot.Plot.update().
◆ mpl_toolbar
Plot.Plot.mpl_toolbar |
◆ series
Plot.Plot.series |
Referenced by Plot.Plot.plot().
◆ skip
Plot.Plot.skip |
Referenced by plotLabels.TaskPanel.TaskPanel.onAxesId(), plotAxes.TaskPanel.TaskPanel.onAxesId(), plotPositions.TaskPanel.TaskPanel.onData(), plotSeries.TaskPanel.TaskPanel.onData(), plotSeries.TaskPanel.TaskPanel.onItem(), plotAxes.TaskPanel.TaskPanel.onScales(), shipOutlineDraw.TaskPanel.TaskPanel.onTableItem(), shipOutlineDraw.TaskPanel.TaskPanel.setSectionType(), Plot.Plot.update(), and plotSeries.TaskPanel.TaskPanel.updateUI().
The documentation for this class was generated from the following file:
- src/Mod/Plot/Plot.py