MATLAB Answers

How can I use legend function to in multi columns?

11 views (last 30 days)
Matlab
Matlab on 7 Dec 2017
Commented: 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

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.

Sign in to answer this question.

Tags


Translated by