绘制散点图中点的方向
我有 [x,y] 中点的散点图。我还想绘制它们的方向:每个点代表一个非球形粒子,并且我的方向以度(-180,180)为单位,这样,对于每个数据点,我有以下向量= [x,y,orientation]。
有没有办法使用 matplotlib 在 2D 图中绘制一个小向量,或者更好的是,用空间中该方向的一条小线替换品脱?
I have a scatter plot of points in [x,y]. I would like to plot also their orientation: each point represent a non spherical particle and I have its orientation in degree (-180,180) such that, for each data point, I have the following vector= [x,y,orientation].
Is there a way with matplotlib to plot in a 2D plot a small vector or, better, replace the pint with a small line with that orientation in space?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论