View source: R/render_plot_hist_compare.R
render_plot_hist_compare | R Documentation |
This function renders a histogram of two variables.
render_plot_hist_compare(
outfile = NULL,
fileExtension = ".png",
visualizeVariables,
imagewidth,
imageheight,
text1_1d,
text2_1d,
textsize,
legend_label1,
legend_label2,
timestep_1d_visualize
)
outfile |
Name of the outfile (NULL or character). Should match the fileExtension. If NULL is passed a file is created in the R session temporary directory. |
fileExtension |
The file extension of the image (character). Has to be one of the following: 'png', 'jpg', 'tif', 'kml', 'pdf'. |
visualizeVariables |
A data frame containing all meta data for the plotting process (data.frame). |
imagewidth |
Width of the image (numeric). |
imageheight |
Height of the image (numeric). |
text1_1d |
Title text (character). |
text2_1d |
Text to be passed to graphics::mtext (character). |
textsize |
Textsize to be used (cex). |
legend_label1 |
Legend label of the first data set |
legend_label2 |
Legend label of the second data set |
timestep_1d_visualize |
Selected timestemp |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.