Plots or adds a line to aplot

plotLine(add.to.plot = ggplot(), X, Y, color = "black", alp = 1)

Arguments

add.to.plot

A ggplot object to add these lines to. Default is ggplot() .

X

A LiPD variable list to plot, including values, units, names, and more

Y

A LiPD variable list to plot, including values, units, names, and more

color

Line color (following ggplot rules)

alp

Line transparency

Value

A ggplot object

Author

Nick McKay