Setting Default Legend Location?

4 visualizaciones (últimos 30 días)
Sam Butler
Sam Butler el 12 de Jul. de 2013
How do I set the default legend location in MatLab R2013a?

Respuestas (1)

the cyclist
the cyclist el 13 de Jul. de 2013
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.

Categorías

Más información sobre Legend en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by