【问题标题】:Is there a way to change the thickness and color of the curves in the plot using wireframe of lattice in R?有没有办法使用 R 中的格线框来改变图中曲线的粗细和颜色?
【发布时间】:2014-12-18 20:08:04
【问题描述】:

我正在使用 R 的 lattice 包中的线框来绘制 3D 数据。 我认为是因为数据点太多,所以情节看起来有点混乱。

有没有办法让图中的连接曲线(黄色和红色块之间)更浅或更薄?

【问题讨论】:

    标签: r plot lattice wireframe


    【解决方案1】:

    你可以改变线条的颜色,但我认为宽度已经很小了。这是一个例子:

    wireframe(volcano, drape =T, col="grey",
          aspect = c(61/87, 0.4),
          light.source = c(10,0,10))
    

    【讨论】:

      猜你喜欢
      • 2014-05-11
      • 1970-01-01
      • 2020-06-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-07
      • 1970-01-01
      相关资源
      最近更新 更多