Ggplot - Title (Graph, axis, legend )

About

Graph and axis title

Title

Plot

labs(title = "New plot title")
# or
ggtitle ("New plot title")

Axis

labs(x = "New x label")
labs(y = "New y label")
# or
xlab("New x label")
ylab("New y label")

Legend

labs(color = "New Legend Color")

Documentation / Reference


Powered by ComboStrap