help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: legend is too large


From: LucaLuca
Subject: Re: legend is too large
Date: Wed, 27 Nov 2019 11:02:11 -0600 (CST)

excuse me..i give you code:


function canc

EquityO=sum((rand(1,60)),1);
EquityU=sum((rand(1,60)),1);
EquityU_2=sum((rand(1,60)),1);
EquityF=sum((rand(1,60)),1);
other=sum((rand(1,60)),1);

 x=1:length(EquityU);
 
grid on
hold on
plot (x,EquityU,'r',
x,EquityF,'b',x,EquityO,'g',x,EquityU_2,'m',x,other,'c');

hold off

lg1=legend ({'filter
oth_eq','UnFiltred','Filtred','OneContract','UnFiltred_2'},
'location','northwest');
legend boxoff
posvec_lg1 = get(lg1,"position");
set(lg1,"position",[posvec_lg1(1),posvec_lg1(2),0.1*posvec_lg1(3),posvec_lg1(4)]);

 
endfunction


https://gyazo.com/dfc93dd062172ea44bc701b2bd6b3b11





--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]