kassambara / ggpubr

'ggplot2' Based Publication Ready Plots
https://rpkgs.datanovia.com/ggpubr/
1.13k stars 165 forks source link

Change the default blue/yellow color to gray scale #316

Open jielab opened 4 years ago

jielab commented 4 years ago

Hi, there:

I used the following command to generate a plot pasted at the bottom: **ggboxplot(dat, x="apoe", y="cnt_min", color="same")

Can someone please let me know how to change the blue/yellow color to gray scale so that I don't need to pay extra publication fee for some coloring that is not really necessary?

Also, how to make the P-value on the top-right to be 1.0 instead of 1.0000?

Thank you very much!

Best regards, jie

捕获

jielab commented 4 years ago

I now learned how to change the axis label font by using: p + font("xlab", size=16) + font("ylab", size=16) + font("xy.text", size=16, face="bold")

But I still don't know how to change the font for the top P-value row.

Your help is greatly appreciated!

Best regards, Jie