Description Usage Arguments Value
This function runs creates an interpolated heatmap from GOTM text output. It loads in a water temp file generated by GOTM. It requires the depth '_z.txt' file also output from GOTM to assign the depths to each measurement. The level of interpolation can be adjusted to increase the accuracy of the plot.
1 2 3 |
data |
dataframe; values loaded with load.3d |
depths |
dataframe; depths loaded with load.depths |
res |
numeric; Resolution of the approximated surface along the x/y axis. Defaults to 100 |
title |
character; Title of the graph. Defaults to 'Heatmap' |
points |
logical; Plot points of measured temp. Defaults to FALSE |
rev.y.ax |
logical; Reverse y axis. Defaults to FALSE |
surface |
logical; Plot surface level of the lake. Defaults to TRUE |
fixed.level |
logical; If the lake level is a fixed elevation |
facet |
logical; option to plot a facet grid of the year data. Defaults to FALSE |
ylim |
vector; Limits for the y-axis. Defaults to range of depths in the data |
zlab |
character; Label for the Z axis |
Plot of interpolated heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.