yampex.helper.Pair(object)
class documentation
Part of yampex.helper
(View In Hierarchy)
I represent the information for one X, Y pair of vectors in a plotting call.
Instance Variable | call | The call name, 'plot', 'bar', etc. |
Instance Variable | X | The independent (x-axis) vector. |
Instance Variable | Xname | The name of the X vector, of None if no name was
defined. |
Instance Variable | Y | The dependent (y-axis) vector. |
Instance Variable | Yname | The name of the Y vector, of None if no name was
defined. |
Instance Variable | fmt | A string-type line/markers/color formatting argument, or a blank string if no such argument was supplied. |
Instance Variable | kw | Any keywords supplied for the call, shared with one or more other instances of me if there was more than one dependent vector in the call. |
Method | sameX | Returns True if the supplied vector X is, or is a
duplicate of, my independent vector X. |
Method | getXY | Returns my X and Y vectors. |
fmt =
A string-type line/markers/color formatting argument, or a blank string if
no such argument was supplied.
kw =
Any keywords supplied for the call, shared with one or more other instances
of me if there was more than one dependent vector in the call.