@@ -48,7 +48,7 @@ def __init__(self, axes=None, dims=None, projection='ortho', labels=('X', 'Y', '
48
48
:param dims: dimension of plot volume as [xmin, xmax, ymin, ymax,
49
49
zmin, zmax]. If dims is [min, max] those limits are applied
50
50
to the x-, y- and z-axes.
51
- :type dims: array_like
51
+ :type dims: array_like(6) or array_like(2)
52
52
:param projection: 3D projection: ortho [default] or persp
53
53
:type projection: str
54
54
:param labels: labels for the axes, defaults to X, Y and Z
@@ -92,10 +92,10 @@ def trplot(self, end, start=None, **kwargs):
92
92
"""
93
93
Define the transform to animate
94
94
95
- :param end: the final pose SO (3) or SE (3) to display as a coordinate frame
96
- :type end: numpy. ndarray, shape=(3,3 ) or (4,4 )
97
- :param start: the initial pose SO (3) or SE (3) to display as a coordinate frame, defaults to null
98
- :type start: numpy. ndarray, shape=(3,3 ) or (4,4 )
95
+ :param end: the final pose SE (3) or SO (3) to display as a coordinate frame
96
+ :type end: ndarray(4,4 ) or ndarray(3,3 )
97
+ :param start: the initial pose SE (3) or SO (3) to display as a coordinate frame, defaults to null
98
+ :type start: ndarray(4,4 ) or ndarray(3,3 )
99
99
:param start: an
100
100
101
101
Is polymorphic with ``base.trplot`` and accepts the same parameters.
@@ -318,13 +318,15 @@ def text(self, x, y, z, *args, **kwargs):
318
318
:param x: x-coordinate
319
319
:type x: float
320
320
:param y: float
321
- :type y: array_like
321
+ :type y: float
322
322
:param z: z-coordinate
323
323
:type z: float
324
+ :param kwargs: Other arguments as accepted by the matplotlib method.
324
325
325
- Other arguments as accepted by the matplotlib method.
326
+ ``.text(x, y, z, s)`` display the string ``s`` at coordinate
327
+ (``x``, ``y``, ``z``).
326
328
327
- :seealso: :func:`matplotlib.pyplot.text`
329
+ :seealso: :func:`~ matplotlib.pyplot.text`
328
330
"""
329
331
h = self .ax .text3D (x , y , z , * args , ** kwargs )
330
332
self .displaylist .append (Animate ._Text (self , h , x , y , z ))
@@ -385,10 +387,9 @@ def __init__(self, axes=None, dims=None, labels=('X', 'Y'), **kwargs):
385
387
386
388
:param axes: the axes to plot into, defaults to current axes
387
389
:type axes: Axes3D reference
388
- :param dims: dimension of plot volume as [xmin, xmax, ymin, ymax,
389
- zmin, zmax]. If dims is [min, max] those limits are applied
390
- to the x-, y- and z-axes.
391
- :type dims: array_like
390
+ :param dims: dimension of plot volume as [xmin, xmax, ymin, ymax]. If
391
+ dims is [min, max] those limits are applied to the x- and y-axes.
392
+ :type dims: array_like(4) or array_like(2)
392
393
:param projection: 3D projection: ortho [default] or persp
393
394
:type projection: str
394
395
:param labels: labels for the axes, defaults to X, Y and Z
@@ -427,10 +428,10 @@ def trplot2(self, end, start=None, **kwargs):
427
428
"""
428
429
Define the transform to animate
429
430
430
- :param end: the final pose SO (2) or SE (2) to display as a coordinate frame
431
- :type end: numpy. ndarray, shape=(2,2 ) or (3,3 )
432
- :param start: the initial pose SO (2) or SE (2) to display as a coordinate frame, defaults to null
433
- :type start: numpy. ndarray, shape=(2,2 ) or (3,3 )
431
+ :param end: the final pose SE (2) or SO (2) to display as a coordinate frame
432
+ :type end: ndarray(3,3 ) or ndarray(2,2 )
433
+ :param start: the initial pose SE (2) or SO (2) to display as a coordinate frame, defaults to null
434
+ :type start: ndarray(3,3 ) or ndarray(2,2 )
434
435
435
436
Is polymorphic with ``base.trplot`` and accepts the same parameters.
436
437
This sets up the animation but doesn't execute it.
@@ -633,11 +634,13 @@ def text(self, x, y, *args, **kwargs):
633
634
:param x: x-coordinate
634
635
:type x: float
635
636
:param y: float
636
- :type y: array_like
637
+ :type y: float
637
638
:param z: z-coordinate
638
639
:type z: float
640
+ :param kwargs: Other arguments as accepted by the matplotlib method.
639
641
640
- Other arguments as accepted by the matplotlib method.
642
+ ``.text(x, y, s)`` display the string ``s`` at coordinate
643
+ (``x``, ``y``).
641
644
642
645
:seealso: :func:`matplotlib.pyplot.text`
643
646
"""
0 commit comments