我正在使用 R 版本的 plotly。这是我想要的:
x = 1:100 y = 1:100 plot_ly(x, y)
我希望图表只显示 x>20 和 x<40 的位置,而忽略其他部分。这该怎么做 ?
r plotly
plotly ×1
r ×1