.. include:: headings.inc .. currentmodule:: lib.plot .. highlight:: python .. _lib.plot.PolyPoints: ========================================================================================================================================== |phoenix_title| **PolyPoints** ========================================================================================================================================== Base Class for lines and markers - All methods are private. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **PolyPoints** .. raw:: html

Inheritance diagram of PolyPoints

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.plot.PolyPoints.__init__` :meth:`~lib.plot.PolyPoints.boundingBox` :meth:`~lib.plot.PolyPoints.getClosestPoint` Returns the index of closest point on the curve, pointXY, scaledXY, distance :meth:`~lib.plot.PolyPoints.getLegend` :meth:`~lib.plot.PolyPoints.log10` :meth:`~lib.plot.PolyPoints.scaleAndShift` :meth:`~lib.plot.PolyPoints.setLogScale` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: PolyPoints Base Class for lines and markers - All methods are private. .. method:: __init__(self, points, attr) .. method:: boundingBox(self) .. method:: getClosestPoint(self, pntXY, pointScaled= True) Returns the index of closest point on the curve, pointXY, scaledXY, distance x, y in user coords if pointScaled == ``True`` based on screen coords if pointScaled == ``False`` based on user coords .. method:: getLegend(self) .. method:: log10(self, data, ind) .. method:: scaleAndShift(self, scale=(1,1), shift=(0,0)) .. method:: setLogScale(self, logscale)