mc_plot_image | R Documentation |
Function plots single sensor form myClim data into PNG file with image() R base function. This was designed for fast, and easy data visualization especially focusing on missing values visualization and general data picture.
mc_plot_image(
data,
filename,
title = "",
localities = NULL,
sensors = NULL,
height = 1900,
left_margin = 12,
use_utc = TRUE
)
data |
myClim object see myClim-package |
filename |
output file name (file path) |
title |
of plot; default is empty |
localities |
names of localities; if NULL then all (default NULL) |
sensors |
names of sensors; if NULL then all (default NULL) see |
height |
of image; default = 1900 |
left_margin |
width of space for sensor_labels; default = 12 |
use_utc |
if FALSE, then the time shift from In the Agg-format myClim object |
Be careful with bigger data. Can take some time.
PNG file created as specified in output file name
tmp_dir <- tempdir()
tmp_file <- tempfile(tmpdir = tmp_dir)
mc_plot_image(mc_data_example_clean, tmp_file, "T1 sensor", sensors="TMS_T1")
file.remove(tmp_file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.