0
$\begingroup$

How do I make the PlotLegends works in the codes below? I had tried the "Expressions" option and other string options. Only the Ture option will give one legend but not all legends.

term = Table[Exp[3*Exp[v] - 3 - k*v] /. v -> Log[n*k/3], {n, 0.7, 1.3, 0.3}]
Plot[term, {k, 0, 10}, PlotLegends -> {"0.7", "1", "1.3"}]
$\endgroup$

closed as off-topic by zhk, Bob Hanlon, LCarvalho, Edmund, MarcoB Oct 5 '17 at 14:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – zhk, Bob Hanlon, LCarvalho, Edmund, MarcoB
If this question can be reworded to fit the rules in the help center, please edit the question.

1
$\begingroup$
Plot[Evaluate@term, {k, 0, 10}, PlotLegends -> {"0.7", "1", "1.3"}]

enter image description here

$\endgroup$

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