Setting Default Legend Location?

조회 수: 2 (최근 30일)
Sam Butler
Sam Butler 2013년 7월 12일
How do I set the default legend location in MatLab R2013a?

답변 (1개)

the cyclist
the cyclist 2013년 7월 13일
The only way I can think of is to edit the legend command:
>> edit legend
and modify these lines:
% set location if empty
if isempty(location)
if ~is2D(ha)
location = 'NorthEastOutside';
else
location = 'NorthEast';
end
end
Although this is a simple edit, you might want to make a backup copy of legend.m before you edit it, just in case.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by