6
Mit diesem SkriptAlign zweizeilige Legende Titel nach links mit Ausdruck()
df <- data.frame(x = 1:5, y = 1:5, color = letters[1:5])
ggplot(df, aes(x, y, fill = color)) +
geom_point(size = 4, pch = 21) +
guides(fill = guide_legend(
title = expression(atop(Median~Nitrate-Nitrogen~(NO[3]^{textstyle("-")}-N), ".\n Concentration"~(mg~L^{textstyle("-")})))))
Ich habe diese Figur
Irgendwelche Vorschläge, wie die zweite Zeile der Legende Titel ausrichten nach links?
Mögliches Duplikat http://stackoverflow.com/questions/13223846/ggplot2-two-line-label-with -ausdruck – akrun
@akrun Ich glaube nicht. – aelwan
Okay, gut, es ist nur ein Link und ich habe es nicht als dupe markiert – akrun