0
$\begingroup$

Is it possible to put a title to PlotLegends? Say you have chosen PlotLegends -> "Expressions". Now it would be neat to add a title like f(x) to it.

$\endgroup$
  • 2
    $\begingroup$ You find an example in the documentation of PlotLegend\LegendContent $\endgroup$ – Ulrich Neumann Jul 2 at 7:37
2
$\begingroup$

I've missed an example as Ulrich Neumann pointed out. The solution is e.g.

PlotLegends -> 
 SwatchLegend[{0, 3.3, 6.7, 10, 13, 17, 20}, 
  LegendLabel -> "mu"]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.