Figure[
FigurePanel[
{
FigGraphics[Plot[0.5, {x, 0, 10}, {PlotStyle -> Black}]];
FigGraphics[Plot[1, {x, 0, 10}, {PlotStyle -> {Red, Dashed}}]];
FigGraphics[Plot[2, {x, 0, 10}, {PlotStyle -> {Blue, Dotted}}]];
},
XPlotRange -> {0, 10},
YPlotRange -> {0, 4}
],
CanvasSize -> {4, 2.5}
]
How can I add something like this to the Figure? Thanks.
Legended
and useLineLegend
. $\endgroup$Legended
has the formLegended[object, legend]
, andFigure
returns aGraphics
so it is perfect for this. UseLegended[figure, LineLegend[...]]
. $\endgroup$