【发布时间】:2021-01-05 07:20:46
【问题描述】:
我正在使用 plotly 在 r 中制作一个散点极坐标图,以绘制场地方面与风速的关系。
有没有办法改变轴,使 0 度仍然在顶部,但 90 度在轴上的 3 点钟位置?我还想将指南针方向标签 (N,E,S,W) 添加到绘图中
这是我使用的代码和到目前为止我制作的情节:
library(plotly)
plot_ly(type='scatterpolar',r=dat$y,theta=dat$x,mode='markers')
【问题讨论】: