我如何将情节轴的轴线划分?
请参阅链接中的图像以获取参考: 1
即使图很广,图本身就是小的。但是,调整图形大小并不能改善图的大小。
例如,是否有一种方法可以将Xaxis弄脏,可以在整个屏幕上拥有更广阔的散点图?
编辑:这是我使用的代码:
fig = px.scatter_3d(data_scatter, x='x', y='y', z='z',
color=data_scatter['Status'])
fig.show()
See the image in the link for reference: 1
Even though the figure is pretty wide, the plot itself is way to small. Adjusting the figure size however doesn't improve the size of the plot.
Is there a way to strech the xaxis for example, to have a wider scatter plot over the whole screen?
Edit: This is the code I used:
fig = px.scatter_3d(data_scatter, x='x', y='y', z='z',
color=data_scatter['Status'])
fig.show()
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须使用纵横比:
这是几张图片。第一个不设置纵横比,第二个具有上述代码:
src =“ https://i.sstatic.net/ooluu.png” alt =“在此处输入图像说明”>
You have to play with the aspect ratio:
Here are a couple of pictures. The first without setting aspect ratio, the second with the code above: