Bonjour,
J'essaie de créer une intrigue à l'aide du serveur RStudio. Mais le texte de la police ne fonctionne pas.
library(ggplot2)
library(extrafont)
df = data.frame(x = c(1, 3, 5, 6, 7, 8),
y = c(4, 2, 5, 6, 4, 2))
Times New Roman Font
ggplot(df, aes(x=x, y = y)) + geom_point() + xlab("Concentration") + ylab("Potency") +
theme(axis.title = element_text(size = 16, family = "Times New Roman"))
Arial Font
ggplot(df, aes(x=x, y = y)) + geom_point() + xlab("Concentration") + ylab("Potency") +
theme(axis.title = element_text(size = 16, family = "Arial Narrow"))
La sortie est la même.