Modify subplot legend properties

2 ビュー (過去 30 日間)
RuiQi
RuiQi 2017 年 7 月 6 日
コメント済み: RuiQi 2017 年 7 月 13 日
I have 2 subplots in my figure and a legend that has been manually repositioned below the plots. May I know if it is possible to
1. Increase the spacings between each legend entry (thus making the width of the entire legend wider) ?
2. Increase the 'length' of the marker of each legend (also making the width of the entire legend wider). For example, instead of SLIC having a marker of -O- , I would like it to be ---O---

回答 (1 件)

KSSV
KSSV 2017 年 7 月 6 日
1. You can manually do it via gui (the figure window), click on the arrow mark (edit plot) of the figure. Click on the legend box, you can drag it now to your desired size, it will increase the spacing.
2. The marker used in legend depends on what marker you have used while plotting. So, you need to change your desired marker at the time of plotting.
  1 件のコメント
RuiQi
RuiQi 2017 年 7 月 13 日
Okay but I dont want to do it manually because I have other plots in other files.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by