PlotSymbol
This a python binding to the C++ class Mantidplot::PlotSymbol.
-
class mantidplot.PlotSymbol
PlotSymbol()
PlotSymbol(PlotSymbol.Style, QBrush, QPen, QSize)
-
Cross = 8
-
DTriangle = 4
-
Diamond = 2
-
Ellipse = 0
-
HLine = 10
-
Hexagon = 14
-
LTriangle = 6
-
NoSymbol = -1
-
RTriangle = 7
-
Rect = 1
-
Star1 = 12
-
Star2 = 13
-
class Style
-
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
-
bit_length() → int
Number of bits necessary to represent self in binary.
>>> bin(37)
‘0b100101’
>>> (37).bit_length()
6
-
conjugate()
Returns self, the complex conjugate of any int.
-
denominator
the denominator of a rational number in lowest terms
-
imag
the imaginary part of a complex number
-
numerator
the numerator of a rational number in lowest terms
-
real
the real part of a complex number
-
PlotSymbol.StyleCnt = 15
-
PlotSymbol.Triangle = 3
-
PlotSymbol.UTriangle = 5
-
PlotSymbol.VLine = 11
-
PlotSymbol.XCross = 9
-
PlotSymbol.__init__
x.__init__(...) initializes x; see help(type(x)) for signature
-
PlotSymbol.brush() → QBrush
-
PlotSymbol.pen() → QPen
-
PlotSymbol.setBrush(QBrush)
-
PlotSymbol.setPen(QPen)
-
PlotSymbol.setSize(QSize)
PlotSymbol.setSize(int, int b=-1)
-
PlotSymbol.setStyle(PlotSymbol.Style)
-
PlotSymbol.size() → QSize
-
PlotSymbol.style() → PlotSymbol.Style