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, ArchAxis._AxisTaskPanel.grid, ArchAxis.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.

◆ 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 App::Origin.axes(), ArchAxis._ViewProviderAxisSystem.axes, Plot.Line.axes, Plot.Plot.axes, Plot.Plot.series, Gui::LinkInfo.update(), MeshGui::MeshRenderer::Private.update(), MeshGui::MeshRenderer.update(), TechDrawGui::TaskDlgActiveView.update(), TechDrawGui::TaskDlgBalloon.update(), TechDrawGui::TaskDlgCenterLine.update(), TechDrawGui::TaskDlgCosmeticLine.update(), TechDrawGui::TaskDlgCosVertex.update(), TechDrawGui::TaskDlgDetail.update(), TechDrawGui::TaskDlgDimension.update(), TechDrawGui::TaskDlgGeomHatch.update(), TechDrawGui::TaskDlgHatch.update(), TechDrawGui::TaskDlgLeaderLine.update(), TechDrawGui::TaskDlgLinkDim.update(), TechDrawGui::TaskDlgProjGroup.update(), TechDrawGui::TaskDlgRichAnno.update(), TechDrawGui::TaskDlgSectionView.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(), Gui::CommandPy.update(), Gui::DocumentPy.update(), Gui::ViewProviderDocumentObjectPy.update(), AddonManager.CommandAddonManager.update(), ArchAxis._AxisTaskPanel.update(), ArchAxis.AxisSystemTaskPanel.update(), ArchAxis.ArchGridTaskPanel.update(), ArchComponent.ComponentTaskPanel.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(), draftguitools.gui_trackers.radiusTracker.update(), ArchCommands.SurveyTaskPanel.update(), shipAreasCurve.Preview.Preview.update(), Mod.PartDesign.WizardShaft.ShaftDiagram.Diagram.update(), shipCreateShip.Preview.Preview.update(), shipOutlineDraw.Preview.Preview.update(), draftguitools.gui_trackers.boxTracker.update(), draftguitools.gui_trackers.ghostTracker.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().

◆ setActiveAxes()

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(), ArchAxis._ViewProviderAxisSystem.axes, Plot.Line.axes, Plot.Plot.axes, Plot.Plot.axesList, and Plot.Plot.fig.

◆ update()

Member Data Documentation

◆ axes

Plot.Plot.axes

◆ axesList

Plot.Plot.axesList

Referenced by Plot.Plot.setActiveAxes().

◆ canvas

Plot.Plot.canvas

◆ fig

Plot.Plot.fig

Referenced by Plot.Plot.setActiveAxes().

◆ grid

◆ legend

Plot.Plot.legend

◆ 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


The documentation for this class was generated from the following file:
  • Sources/FreeCAD/src/Mod/Plot/Plot.py