Put a fixed title in an interactive 3D plot using rgl package, R

后端 未结 4 437
梦毁少年i
梦毁少年i 2020-12-20 16:04

I am trying to add a fixed title to an interactive 3d plot using the rgl package from R, but so far I haven\'t been able to do it. I also would like to have one main title a

4条回答
  •  暖寄归人
    2020-12-20 16:21

    Similar to the suggestion about test, you can add a legend that stays stationary and use it as your title. See example below from Adding a legend to an rgl 3d plot

    legend3d("topright", legend = paste('Type', c('A', 'B', 'C')), pch = 16, col = rainbow(3), cex=1, inset=c(0.02))
    

提交回复
热议问题