1
私は、plot3Dパッケージからscatter3D()を使って作成されたプロットを表示するrglデバイスのカラーキータイトルのフォントサイズを増やす方法に苦労しています。私はcex.clabオプションがグラフィックデバイスのカラーキータイトルのフォントサイズに影響するが、rglデバイスには影響しないことを示す以下のコードをいくつか挙げました。私はrglデバイスのカラーキータイトルのフォントサイズを増やす方法についての提案も感謝します。
おかげで、 デイブscatter3D cex.clabとrgl
library(plot3D); library(plot3Drgl)
with(quakes,
scatter3D(x=long, y=lat, z=-depth, colvar=mag, pch=16, cex=1.5,
xlab="longitude", ylab="latitude", zlab="depth, km",
clab=c("Richter", "Magnitude"), main="Earthquakes off Fiji",
ticktype="detailed", theta=10, d=2,
colkey=list(length=0.5, width=0.5, cex.clab=1))
)
plotrgl(lighting = TRUE, smooth = TRUE, cex=2)
with(quakes,
scatter3D(x=long, y=lat, z=-depth, colvar=mag, pch=16, cex=1.5,
xlab="longitude", ylab="latitude", zlab="depth, km",
clab=c("Richter", "Magnitude"), main="Earthquakes off Fiji",
ticktype="detailed", theta=10, d=2,
colkey=list(length=0.5, width=0.5, cex.clab=2))
)
plotrgl(lighting = TRUE, smooth = TRUE, cex=2)
ありがとう!これは素晴らしい作品です!なぜ私はこれを理解できなかったのか分かりません。 – dmwarn