Description Usage Arguments Author(s) Examples
This function is suitable for plotting raw temperatures encoded as a raster.
1 2 3 | plot_temp_map(r, title, colorscale_title = "", contour_thresh = NULL,
contour_col = c("blue", "red"), ctable = interpolate_colortable(howmany =
100, "blue", "green", "yellow", "red"))
|
r |
Input raster containing temperature values |
title |
Title for the plot |
colorscale_title |
Title for the color legend |
contour_thresh |
Values used for plotting contours. |
contour_col |
Two colors representing min and max thresholds. |
ctable |
Color table used for plotting the temperatures. |
Viliam Simko
1 2 | r <- raster(matrix(rnorm(400), 20))
plot_temp_map(r, "Random temperatures")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.