Control point Rahmenstärke in ggplot

Bei der Verwendung von ggplot, ich kann shape zu 21-25 um Formen, die unabhängige Einstellung des internen (fill) und Grenze (col) Farben, etwa so:

df <- data.frame(id=runif(12), x=1:12, y=runif(12))
ggplot(df, aes(x=x, y=y)) + 
  geom_point(aes(fill=id, size=id), colour="black", shape=21)

Control point Rahmenstärke in ggplot

Jedoch kann ich nicht herausfinden, wie die Steuerung der Dicke der Form Grenzen setzen, absolut oder als ästhetische Zuordnung. Ich habe bemerkt, dass wenn ich eine lwd Wert hat, überschreibt er den size ästhetik:

ggplot(df, aes(x=x, y=y)) + 
  geom_point(aes(fill=id, size=id), colour="black", shape=21, lwd=2)

Control point Rahmenstärke in ggplot

Wie kontrolliere ich die Rahmenstärke?

InformationsquelleAutor Noam Ross | 2013-10-21

Schreibe einen Kommentar