简体   繁体   English

webgl-surface-plot:不同旋转的剪辑

[英]webgl-surface-plot: Clips at Different Rotations

I am trying to use webgl-surface-plot to give a 3D surface plot of data. 我正在尝试使用webgl-surface-plot给出数据的3D表面图。 At several orientations, the axes labels get clipped. 在多个方向上,轴标签被剪切。 At other orientations, part of the graph gets clipped. 在其他方向上,部分图形被裁剪。 Is there a way to expand the canvas size and/or move the axes labels closer to the axes? 有没有办法扩大画布大小和/或将轴标签移到更靠近轴的位置?

You can change the default scale/zoom in the code and then just increase the canvas dimensions via the input options. 您可以在代码中更改默认的缩放比例/缩放比例,然后通过输入选项增加画布尺寸。 I plan to add the starting zoom as an option to the chart, when I get a chance. 我打算在有机会时将开始缩放比例添加到图表中。 I want to fix the axis labels as well. 我也想修复轴标签。 Currently they are at a fixed distance from the axes. 目前,它们与轴之间的距离是固定的。 They should, instead, be at a distance dictated by the length of the tick labels. 相反,它们应位于刻度线标签的长度所规定的距离处。 Fixing this will be quite tricky, though. 但是,解决此问题将非常棘手。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM