Setting Default Legend Location?

Réponses (1)

the cyclist
the cyclist le 13 Juil 2013

0 votes

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.

Produits

Question posée :

le 12 Juil 2013

Community Treasure Hunt

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

Start Hunting!

Translated by