有没有办法在matplotlib中的3d绘图的x轴和y轴上绘制2d直方图?

2024-07-04 04:54:31 发布

您现在位置:Python中文网/ 问答频道 /正文

在本例中,由matplotlib:referencee

有没有办法调整这条线:

ax.plot(x, y, zs=0, zdir='z', label='curve in (x,y)')

例如:

ax.hist2d(x,y, zs=0, zdir='z', label='curve in (x,y)')

所以要让一个2d histogram plot投影出三维图的x轴和y轴?你知道吗


Tags: inplotmatplotlibaxlabelhistogram投影curve

热门问题