MCPcopy Create free account
hub / github.com/MotrixLab/FineMoGen / plot_xzPlane

Function plot_xzPlane

mogen/utils/plot_utils.py:138–143  ·  view source on GitHub ↗
(minx, maxx, miny, minz, maxz)

Source from the content-addressed store, hash-verified

136 ax.grid(b=False)
137
138 def plot_xzPlane(minx, maxx, miny, minz, maxz):
139 verts = [[minx, miny, minz], [minx, miny, maxz], [maxx, miny, maxz],
140 [maxx, miny, minz]]
141 xz_plane = Poly3DCollection([verts])
142 xz_plane.set_facecolor((0.5, 0.5, 0.5, 0.5))
143 ax.add_collection3d(xz_plane)
144
145 # (seq_len, joints_num, 3)
146 data = joints.copy().reshape(len(joints), -1, 3)

Callers 1

updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected