Is it possible to extract the icon (line, marker, etc) displayed in a typical Legend
so that I can display them in ax.xlabel
and ax.ylabel
?
Edit:
The left plot is what we usually get by using Legend
(or axislegend
). I want to produce something similar to the right one where the icon labelling the ScatterLine
is now displayed in the ax.ylabel
(or somewhere else like ax.title
, Label
, text!(...)
, etc)