我的目标是在一个三维空间/图表/图形中显示点。在Python中,似乎是可能的:https://plot.ly/python/3d-scatter-plots/
但是在Scala中,我没有找到这个对象/类/特征:
- 网站只涉及曲面:https://plot.ly/scala/
- Plotly文档中没有包含Scatter3d,只有Scatter,不支持3D:https://asidatascience.github.io/scala-plotly-client/latest/api/#co.theasi.plotly.Scatter
- ThreeDPlot类似乎无法在不绘制曲面的情况下显示3D点:https://asidatascience.github.io/scala-plotly-client/latest/api/#co.theasi.plotly.ThreeDPlot,Z坐标集很奇怪(例如Iterable [Iterable [Double]]而不是更简单的Iterable [Double])
- Github页面使用3D点,但仅在2D空间中显示,仅使用X和Y坐标:https://github.com/ASIDataScience/scala-plotly-client