标签: python image matplotlib
我想在3D空间中显示几个数字。
到目前为止,我使用THIS在3D空间中得到了一个矩形:
相关代码段:
# Draw a rectangle on the x=0 'wall' p = Rectangle((6.5,2.5),5,5,90) ax.add_patch(p) art3d.pathpatch_2d_to_3d(p, z=5, zdir="x")
其中“矩形”是指matplotlib.patches.rectangle
现在,矩形为蓝色。我可以将其更改为图像吗?