![](/img/trans.png)
[英]Labeling points and defining group colors using scatter3D() function from plot3D library
[英]Telling scatter3D from plot3D library to plot the tick labels
我正在使用 plot3D 庫的 scatter3D 函數繪制 3D 散點圖,但我找不到提供語法的方法,以便該圖包含刻度標簽。
我的代碼如下:
library(plot3D)
A <- c(0, 1, 0, 1)
B <- c(0, 0, 1, 1)
y <- c(52, 74, 62, 80)
scatter3D(x = A, y = B, z = y, col = "red", phi = 0, cex = 2, bty = "g", alpha = 0.5 , pch = 20, nticks = 10,
xlab = "Time Factor", ylab = "Corn Factor", zlab = "Outcome", main = "Experiment with 2 Factors")
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.