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$
1
  • 2
    $\begingroup$ You find an example in the documentation of PlotLegend\LegendContent $\endgroup$ Jul 2, 2019 at 7:37

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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