It seems I cannot use PlotLegend
with ParametricPlot
. Here's what I tried:
ParametricPlot[{Sin[t], Cos[Sqrt[t]]}, {t, 0, 2 Pi},
PlotLegend -> {"My Plot"}]
It seems I cannot use PlotLegend
with ParametricPlot
. Here's what I tried:
ParametricPlot[{Sin[t], Cos[Sqrt[t]]}, {t, 0, 2 Pi},
PlotLegend -> {"My Plot"}]
If you call the PlotLegends
package first, it should work, though you might be better using the ShowLegends
version than the PlotLegend
option, for more control:
Needs["PlotLegends`"]
ParametricPlot[{Sin[t], Cos[Sqrt[t]]}, {t, 0, 2 Pi},
PlotLegend -> {"My Plot"}]
ShowLegend[
ParametricPlot[{Sin[t], Cos[Sqrt[t]]}, {t, 0,
2 Pi}], {{{Graphics[{Blue, Disk[{0, 0}, 1]}], {Sin[t],
Cos[Sqrt[t]]}}}}]