Draws a double-headed arrow.
Syntax
covariance = pd.DiagramDrawCovariance()
covariance = pd.DiagramDrawCovariance(theElement1, theElement2)
covariance = pd.DiagramDrawCovariance(variableName1, variableName2)
covariance = pd.DiagramDrawCovariance(elementNumber1, elementNumber2)
covariance = pd.DiagramDrawCovariance(x1, y1, x2, y2)
The DiagramDrawCovariance method syntax has the following parts:
Part |
Description |
covariance |
The newly drawn covariance. (An object of type PDElement.) |
theElement1, theElement2 |
(Of type PDElement) The two variables to be connected by a double-headed arrow. |
variableName1, variableName2 |
(String) The names of the two variables to be connected by a double-headed arrow. |
elementNumber1, elementNumber2 |
(Integer) Numbers that identify the two variables to be connected by a double-headed arrow. Objects in a path diagram are arbitrarily numbered beginning with 1. |
x1, y1 |
(Single) Coordinates of one of the variables to be connected by a double-headed arrow. x1 is its distance in inches from the left edge of the path diagram. y1 is its distance in inches from the top edge. |
x2, y2 |
(Single) Coordinates of one of the variables to be connected by a double-headed arrow. x2 is its distance in inches from the left edge of the path diagram. y2 is its distance in inches from the top edge. |
Calling DiagramDrawCovariance with no arguments is equivalent to the menu selection Diagram → Draw Covariance.