Plot formatting for presentation and publication

basicPlotFormat(
  p,
  theme_overall = "bw",
  base_size = 8,
  legend.position = "top",
  x.text.blank = F,
  y.text.blank = F,
  axis.title.bold = T,
  legend.title.bold = T,
  axis.title.x.blank = F,
  axis.title.y.blank = F,
  legend.title.blank = F,
  legend.spacing.x = 0,
  legend.key.spacing = 0,
  legend.key.spacing.y = 0,
  legend.box.margin = 0,
  legend.box.spacing = 0,
  legend.key.size = 8
)

Arguments

p

A ggplot2 object.

theme_overall

Theme of p.

base_size

base_size of theme.

legend.position

Legend position.

x.text.blank

Logical. Set x axis text to blank.

y.text.blank

Logical. Set y axis text to blank.

axis.title.bold

Logical. Set title to be bold.

legend.title.bold

Logical. Set legend title to be bold.

axis.title.x.blank

Logical. Set x axis title to be bold.

axis.title.y.blank

Logical. Set y axis title to be bold.

legend.title.blank

Logical. Set legend title to be blank.

legend.spacing.x

Legend spacing.

legend.key.spacing

Legend key spacing.

legend.key.spacing.y

Legend key spacing on vertical direction.

legend.box.margin

Legend box margin.

legend.box.spacing

Legend box spacing.,

legend.key.size

Legend key size.

Value

A ggplot2 object.