Plot legend below the plot

For the plot, how can I put the legend below the plot (as in excel)?

 采纳的回答

Walter Roberson
Walter Roberson 2017-12-28

7 个投票

Call legend() with 'Location', 'southoutside'

3 个评论

alpedhuez
alpedhuez 2017-12-28
编辑:alpedhuez 2017-12-28
Then I want to have explanations for four lines lined up horizontally
like
- line 1 - line 2 - line 3 -line 4
not like
- line 1
- line 2
- line 3
- line 4
Thank you.
'Orientation','horizontal'
Hi Walter. Could you have a look at this question? Something related to this question.

请先登录,再进行评论。

更多回答(0 个)

类别

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by