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 | |
def Plot.Plot.isGrid | ( | self | ) |
Return True if Grid is active, False otherwise.
References FaceQuadStruct::Side.grid, ArchAxis._AxisTaskPanel.grid, ArchAxisSystem.AxisSystemTaskPanel.grid, ArchComponent.ComponentTaskPanel.grid, ArchCutPlane._CutPlaneTaskPanel.grid, ArchPrecast._PrecastTaskPanel.grid, ArchPrecast._DentsTaskPanel.grid, ArchRoof._RoofTaskPanel.grid, ArchSectionPlane.SectionPlaneTaskPanel.grid, ArchWindow._ArchWindowTaskPanel.grid, DraftGui.FacebinderTaskPanel.grid, draftguitools.gui_snapper.Snapper.grid, MeshGui::Vertex.grid, MeshPartGui::MeshCrossSection.grid, MeshPartGui::CurveOnMeshHandler::Private.grid, Plot.Plot.grid, and ColorPickerPopup.grid.
def Plot.Plot.isLegend | ( | self | ) |
Return True if Legend is active, False otherwise.
References Plot.Plot.legend.
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 App::Origin.axes(), ArchAxisSystem._ViewProviderAxisSystem.axes, Plot.Line.axes, Plot.Plot.axes, Plot.Plot.series, Gui::LinkInfo.update(), package_details.PackageDetails.update, MeshGui::MeshRenderer::Private.update(), MeshGui::MeshRenderer.update(), TechDrawGui::TaskDlgActiveView.update(), TechDrawGui::TaskDlgBalloon.update(), TechDrawGui::TaskDlgCenterLine.update(), TechDrawGui::TaskDlgCosmeticLine.update(), TechDrawGui::TaskDlgCosVertex.update(), TechDrawGui::TaskDlgCustomizeFormat.update(), TechDrawGui::TaskDlgDetail.update(), TechDrawGui::TaskDlgDimension.update(), TechDrawGui::TaskDlgGeomHatch.update(), TechDrawGui::TaskDlgHatch.update(), TechDrawGui::TaskDlgLeaderLine.update(), TechDrawGui::TaskDlgLinkDim.update(), TechDrawGui::TaskDlgProjection.update(), TechDrawGui::TaskDlgProjGroup.update(), TechDrawGui::TaskDlgRichAnno.update(), TechDrawGui::TaskDlgSectionView.update(), TechDrawGui::TaskDlgSelectLineAttributes.update(), TechDrawGui::TaskDlgWeldingSymbol.update(), SMESHDS_GroupOnFilter.update(), App::LinkBaseExtension.update(), Gui::ViewProvider.update(), Gui::ViewProviderDocumentObject.update(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >.update(), ArchAxis._AxisTaskPanel.update(), ArchAxisSystem.AxisSystemTaskPanel.update(), ArchComponent.ComponentTaskPanel.update(), ArchGrid.ArchGridTaskPanel.update(), ArchNesting.Nester.update(), ArchRoof._RoofTaskPanel.update(), ArchSectionPlane.SectionPlaneTaskPanel.update(), ArchWindow._ArchWindowTaskPanel.update(), DraftGui.FacebinderTaskPanel.update(), draftguitools.gui_trackers.gridTracker.update(), femtaskpanels.task_mesh_gmsh._TaskPanel.update(), femtaskpanels.task_result_mechanical._TaskPanel.update(), femtaskpanels.task_solver_ccxtools._TaskPanel.update(), Mod.PartDesign.InvoluteGearFeature._InvoluteGearTaskPanel.update(), Mod.PartDesign.SprocketFeature.SprocketTaskPanel.update(), Plot.Plot.update(), Spreadsheet_legacy.SpreadsheetView.update(), DocumentObject.ViewProvider.update(), AddonManager.CommandAddonManager.update(), draftguitools.gui_trackers.radiusTracker.update(), ArchCommands.SurveyTaskPanel.update(), Mod.PartDesign.WizardShaft.ShaftDiagram.Diagram.update(), addonmanager_workers.GitProgressMonitor.update(), draftguitools.gui_trackers.boxTracker.update(), draftguitools.gui_edit.Edit.update(), draftguitools.gui_trackers.rectangleTracker.update(), ArchPanel.CommandPanel.update(), ArchStructure._CommandStructure.update(), ArchWall._CommandWall.update(), ArchWindow._CommandWindow.update(), draftguitools.gui_trackers.bsplineTracker.update(), draftguitools.gui_trackers.bezcurveTracker.update(), draftguitools.gui_trackers.dimTracker.update(), draftguitools.gui_trackers.wireTracker.update(), and PartDesign::SubShapeBinder.update().
Referenced by Mod.PartDesign.WizardShaft.ShaftDiagram.Diagram.update().
def Plot.Plot.setActiveAxes | ( | self, | |
index | |||
) |
Change the current active axes. Keyword arguments: index -- Index of the new active axes set.
References App::Origin.axes(), ArchAxisSystem._ViewProviderAxisSystem.axes, Plot.Line.axes, Plot.Plot.axes, Plot.Plot.axesList, and Plot.Plot.fig.
def Plot.Plot.update | ( | self | ) |
Update the plot, redrawing the canvas.
References Plot.Plot.canvas, Mod.Test.unittestgui.ProgressBar.canvas, Plot.Plot.legend, Plot.Plot.legPos, Plot.Plot.legSiz, and Plot.Plot.skip.
Referenced by ArchStructure.CommandStructuralSystem.Activated(), ArchAxisSystem.AxisSystemTaskPanel.addElement(), ArchComponent.ComponentTaskPanel.addElement(), ArchSectionPlane.SectionPlaneTaskPanel.addElement(), DraftGui.FacebinderTaskPanel.addElement(), femtaskpanels.task_result_mechanical._TaskPanel.calculate(), Spreadsheet_legacy.SpreadsheetView.changeCell(), draftguitools.gui_edit.Edit.endEditing(), draftguitools.gui_trackers.boxTracker.height(), draftguitools.gui_trackers.rectangleTracker.p3(), Plot.Plot.plot(), Spreadsheet_legacy.SpreadsheetView.recompute(), ArchAxisSystem.AxisSystemTaskPanel.removeElement(), ArchComponent.ComponentTaskPanel.removeElement(), ArchSectionPlane.SectionPlaneTaskPanel.removeElement(), DraftGui.FacebinderTaskPanel.removeElement(), draftguitools.gui_trackers.gridTracker.reset(), ArchNesting.Nester.run(), draftguitools.gui_trackers.gridTracker.setMainlines(), draftguitools.gui_trackers.gridTracker.setSize(), draftguitools.gui_trackers.gridTracker.setSpacing(), and draftguitools.gui_edit_arch_objects.ArchWallGuiTools.update_object_from_edit_points().
Plot.Plot.axes |
Referenced by Plot.Plot.plot(), and Plot.Plot.setActiveAxes().
Plot.Plot.axesList |
Referenced by Plot.Plot.setActiveAxes().
Plot.Plot.canvas |
Referenced by Mod.Test.unittestgui.ProgressBar.paint(), and Plot.Plot.update().
Plot.Plot.fig |
Referenced by Plot.Plot.setActiveAxes().
Plot.Plot.grid |
Plot.Plot.legend |
Referenced by Plot.Plot.isLegend(), and Plot.Plot.update().
Plot.Plot.legPos |
Referenced by Plot.Plot.update().
Plot.Plot.legSiz |
Referenced by Plot.Plot.update().
Plot.Plot.mpl_toolbar |
Plot.Plot.series |
Referenced by Plot.Plot.plot().
Plot.Plot.skip |
Referenced by Plot.Plot.update().