【发布时间】:2019-03-25 10:15:37
【问题描述】:
我正在使用 autoplot 函数来制作 PCA 双图。就我而言,我想增加点笔画以提高情节的可读性。我该怎么做?
这是一个例子:
library(ggfortify)
df <- iris[c(1, 2, 3, 4)]
autoplot(prcomp(df), data = iris, colour="Species", fill="Species", shape="Species", geom="points", size=2) +
scale_color_manual(values=c("#1B9E77","#D95F02","#7570B3")) +
scale_fill_manual(values=c("#ffffff","#ffffff","#ffffff")) +
scale_shape_manual(values=c(21:23))
【问题讨论】:
-
当您说“点笔画”时,您是指字符的整体大小还是指边框的粗细?
-
这里指的是点边界的粗细
标签: r ggplot2 ggfortify biplot