Table Of Contents

Previous topic

PolyMarker

Next topic

PolySpline

This Page

phoenix_title PolyPoints

Base Class for lines and markers - All methods are private.


class_hierarchy Inheritance Diagram

Inheritance diagram for class PolyPoints

Inheritance diagram of PolyPoints


method_summary Methods Summary

__init__  
boundingBox  
getClosestPoint Returns the index of closest point on the curve, pointXY, scaledXY, distance
getLegend  
log10  
scaleAndShift  
setLogScale  

api Class API



class PolyPoints

Base Class for lines and markers - All methods are private.


Methods



__init__(self, points, attr)


boundingBox(self)


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



getLegend(self)


log10(self, data, ind)


scaleAndShift(self, scale=(1, 1), shift=(0, 0))


setLogScale(self, logscale)