我试着用scale_color_manual和scale_fill_manual p <- ggplot(df1, aes(factor(type), nums))
p <- p + geom_violin但我无法绘制第二小提琴情节,因为: Scale for 'colour' is alreadypresent.Addinganotherscale for 'colour',
Addinganotherscale for 'x', which will replace the existing scale.(position = "top")
Scale for 'x' is alreadypresent.Addinganotherscale for 'x', which</
当我在我的ggplot代码中一起运行scale_fill_manual()和scale_fill_hue()函数时,我会得到以下错误:
Scale for 'fill' is alreadypresentAddinganotherscale for 'fill', which will replace the exis
例如,+scale_y_continuous(trans="reverse")从上到下绘制坐标轴,scale_y_continuous(trans="sqrt")进行非线性变换。应用逐个转换(即+scale_y_reverse() ... + scale_y_log())给出一个警告:Scale for 'y' is alreadypresent.Addinganother</em