MCPcopy
hub / github.com/OpenMotionLab/MotionGPT / plot_xzPlane

Function plot_xzPlane

mGPT/render/matplot/plot_3d_global.py:59–65  ·  view source on GitHub ↗
(minx, maxx, miny, minz, maxz)

Source from the content-addressed store, hash-verified

57 ax.grid(b=False)
58
59 def plot_xzPlane(minx, maxx, miny, minz, maxz):
60 ## Plot a plane XZ
61 verts = [[minx, miny, minz], [minx, miny, maxz],
62 [maxx, miny, maxz], [maxx, miny, minz]]
63 xz_plane = Poly3DCollection([verts])
64 xz_plane.set_facecolor((0.5, 0.5, 0.5, 0.5))
65 ax.add_collection3d(xz_plane)
66
67 fig = plt.figure(figsize=(480 / 96., 320 / 96.),
68 dpi=96) if nb_joints == 21 else plt.figure(

Callers 1

updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected