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

Function plot_xzPlane

text2motion/utils/plot_script.py:43–53  ·  view source on GitHub ↗
(minx, maxx, miny, minz, maxz)

Source from the content-addressed store, hash-verified

41 ax.grid(b=False)
42
43 def plot_xzPlane(minx, maxx, miny, minz, maxz):
44 ## Plot a plane XZ
45 verts = [
46 [minx, miny, minz],
47 [minx, miny, maxz],
48 [maxx, miny, maxz],
49 [maxx, miny, minz]
50 ]
51 xz_plane = Poly3DCollection([verts])
52 xz_plane.set_facecolor((0.5, 0.5, 0.5, 0.5))
53 ax.add_collection3d(xz_plane)
54
55 # return ax
56

Callers 1

updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected