View source: R/heat_tree--legend.R
make_plot_legend | R Documentation |
Make color/size legend
make_plot_legend(
x,
y,
length,
width_range,
width_trans_range = NULL,
width_stat_range,
group_prefix,
tick_size = 0.008,
width_stat_trans = function(x) {
x
},
width_title = "Size",
width_sig_fig = 3,
color_range,
color_trans_range = NULL,
color_stat_range,
color_stat_trans = function(x) {
x
},
color_title = "Color",
color_sig_fig = 3,
divisions = 100,
label_count = 7,
title = NULL,
label_size = 0.09,
title_size = 0.11,
axis_label_size = 0.11,
color_axis_label = NULL,
size_axis_label = NULL,
hide_size = FALSE,
hide_color = FALSE
)
x |
bottom left |
y |
bottom left |
length |
( |
width_range |
( |
width_stat_range |
( |
group_prefix |
( |
tick_size |
( |
width_stat_trans |
( |
width_title |
( |
width_sig_fig |
( |
color_range |
( |
color_stat_range |
( |
color_stat_trans |
( |
color_title |
( |
color_sig_fig |
( |
divisions |
( |
label_count |
( |
title |
( |
axis_label_size |
( |
color_axis_label |
( |
size_axis_label |
( |
hide_size |
( |
hide_color |
( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.