How to label more than one curves in Mathematica?

  • Context: Mathematica 
  • Thread starter Thread starter hanson
  • Start date Start date
  • Tags Tags
    Curves Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 14K views
hanson
Messages
312
Reaction score
0
Hi all.
I have say 5 curves in a 2-D plot and they are of different colors.
I would like to label them according to their colors or pattern.
Say,
--- Sin[[x]
___ Cos[x]

What command shall I refer to?
 
Physics news on Phys.org
See the help page for PlotLegend command.