How can I use legend function to in multi columns?

1 view (last 30 days)
Hi, I need to plot figure that contains may lines each line represents different name how can I show these names using legend ?
  1 Comment
KL
KL on 7 Dec 2017
if you need help with legend, on your command line, type,
help legend

Sign in to comment.

Answers (1)

Rik
Rik on 7 Dec 2017
  2 Comments
Matlab
Matlab on 8 Dec 2017
Iam not need number of line . I need to print name like Ca, Fe, Ag, Co2 . How can I replace the numbers with letters?
Rik
Rik on 8 Dec 2017
What code did you try? If you want multiple columns in your legend, the link I gave you should help. If you want something different, you will need to explain it.
Have a read here and here. It will greatly improve your chances of getting an answer.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!