MATLAB Answers


How can I use legend function to in multi columns?

Asked by Matlab
on 7 Dec 2017
Latest activity Commented on by Rik
on 8 Dec 2017
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

on 7 Dec 2017
if you need help with legend, on your command line, type,
help legend

Sign in to comment.


1 Answer

Answer by Rik
on 7 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?
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.