plot_profile: Plot heat map of overall profile

Description Usage Arguments Examples

Description

Creates single heat map of a chosen variable

Usage

1
2
3
plot_profile(d, colvar = "Sled_YSI_Temp", xvar = "RECORD",
  yvar = "Sled_Depth", col = rev(heat.colors(24)), fig.out = NULL,
  tau = 0)

Arguments

d

Data.frame containing all data (must have Lat/Lon/T_Depth columns)

colvar

Variable to color path points (defaults to T_Depth)

xvar

Select a different variable to define the x-axis

yvar

Select a different variable to define the y-axis

col

Select different colormap (passed in as vector of colors, for example, try rainbow(12))

tau

Rudimentary sensor lag correction. Zero (no correction) is default. Larger value applies larger lag correction, though it adds noise at the same time

Examples

1
2
3
4
5
6
7
data(greenlake)

plot_profile(greenlake)


#Can change the heatmap variable if you want
plot_profile(greenlake, colvar='Sled_chl_A')

lawinslow/paulplot documentation built on May 20, 2019, 8:25 p.m.