legend_title_margin: custom function to set upper and lower margins to legend title in
ggplot2
Description
custom function to set upper and lower margins to legend title in
ggplot2
Usage
legend_title_margin(plot, t.margin = unit(0, "mm"), b.margin = unit(3,
"mm"))
Arguments
plot
Plot with the legend title whose margins need to be modified.
Value
A plot with desired margins between the legend title and the legend.