필터 지우기
필터 지우기

Subplot legend change width and height

조회 수: 2 (최근 30일)
RuiQi
RuiQi 2017년 7월 13일
How do I change the width and height of my subplot legend ? I manually changed its position in the figure below.
l = legend('Orientation', 'Horizontal', 'RNN (Ours)','AGG (Ours)', 'SLIC', 'SEEDS', 'LSC');
set(l,'Position', [0.4 0 0.5 0.2], 'Units', 'normalized');
The last 2 values of 'Position' do not work. It just changes the position of the legend. Its width and height remain the same. I need to do it using code not gui.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by