add_decompare_legend!
add_decompare_legend!
Add a legend to a decomposition comparison plot.
add_decompare_legend!
add_decompare_legend!(
gp::GridPosition,
channel_names::AbstractVector{<:String},
decomposition_names::AbstractVector{<:String};
colors=wong_colors()
) -> Legend
Add a legend to a decomposition comparison plot.
The decomposition comparison plot can be created using plot_decomposition_comparison or plot_decomposition_comparison!.
Arguments
gp::GridPosition: Position to plot the legend into.channel_names::AbstractVector{<:String}: Names of the transmission channels.decomposition_names::AbstractVector{<:String}: Names for the decompositions.
Keyword Arguments
colors: Colors for the decomposition bars (default: Wong colors).
Returns
- A
Legendobject that can be further manipulated.