フィルターのクリア

Setting default legend position

12 ビュー (過去 30 日間)
Guido Perucchini
Guido Perucchini 2019 年 5 月 17 日
回答済み: Clayton Birchenough 2019 年 9 月 9 日
I'm defining some default print settings for my figures and I would like to set the default legend location as 'best'
% Print settings
set(groot, 'DefaultTextInterpreter', 'LaTeX');
set(groot, 'DefaultAxesTickLabelInterpreter', 'LaTeX');
set(groot, 'DefaultAxesFontName', 'LaTeX');
set(groot, 'DefaultLegendInterpreter', 'LaTeX');
set(groot, 'DefaultAxesBox', 'on');
what is the related command?
thanks!

回答 (1 件)

Clayton Birchenough
Clayton Birchenough 2019 年 9 月 9 日
Yes, to set the default location of the legend to best (in 2019a), use:
set(groot, 'defaultLegendLocation', 'best')

カテゴリ

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

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by