Learn R Programming

rLakeAnalyzer (version 1.11.4.1)

wtr.heat.map: Plots a heat-map of water temperature.

Description

This creates a simple, default heatmap of water temperature.

Usage

wtr.heat.map(wtr, ...)

Arguments

wtr

Data frame of water temperature loaded with load.ts.

...

Additional parameters supplied to filled.contour to modify defaults. Common examples include zlim and plot.title.

See Also

load.ts

Examples

Run this code
# NOT RUN {
	#Get the path for the package example file included
	wtr.path <- system.file('extdata', 'Sparkling.daily.wtr', package="rLakeAnalyzer")
	
	#Load data for example lake, Sparkilng Lake, Wisconsin.
	sp.wtr = load.ts(wtr.path)
	
	#Plot default figure
	wtr.heat.map(sp.wtr)

	#Change defaults supplied to filled.contour
	wtr.heat.map(sp.wtr, zlim=c(0,15), plot.title="Sparkling Water Temp (C)")
# }

Run the code above in your browser using DataLab