透明 3D 条形图
我想生成具有透明表面的 3D 条形图,以便我可以看到高条形后面发生的情况。
mplot3d API 文档 表示 bar3d< 允许使用关键字/代码> 功能。我传递了所有必需的参数,但只能输出具有实体表面的图形。 这些和这些条形图清楚地显示了半透明表面。
我尝试了关键字 alpha
(因为它在其他地方用于类似目的),但没有被识别:
Exception Value: bar3d() got an unexpected keyword argument 'alpha'
并且 zsort
参数似乎也不起作用,尽管它用于上面的示例之一:
Exception Value: bar3d() got an unexpected keyword argument 'zsort'
如何生成透明条形图?
I would like to generate 3D bar graphs with transparent surfaces so that I can see what is going on behind tall bars.
The mplot3d API docs say that keywords are allowed for the bar3d
function. I pass all the required parameters but can only output graphs with solid surfaces. These and these bar graphs clearly show semi-transparent surfaces.
I tried the keyword alpha
(as it is used elsewhere for a similar purpose) but that was not recognized:
Exception Value: bar3d() got an unexpected keyword argument 'alpha'
and the zsort
parameter doesn't seem to be working either although it is used in one of the examples above:
Exception Value: bar3d() got an unexpected keyword argument 'zsort'
How can I generate transparent bar graphs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论