From 5aade1142e48987c2efc190ab13818b13d995b61 Mon Sep 17 00:00:00 2001 From: jmaceiras <jeremy.maceiras@idiap.ch> Date: Wed, 11 May 2022 14:59:04 +0200 Subject: [PATCH] [matlab] Fixed a bug in plot --- matlab/MP.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/MP.m b/matlab/MP.m index 9482eff..22e0e41 100644 --- a/matlab/MP.m +++ b/matlab/MP.m @@ -77,7 +77,7 @@ clrmap = lines(param.nbFct); subplot(1,3,1); hold on; axis off; l(1) = plot(x(1:2:end,:), x(2:2:end,:), 'linewidth',2,'color',[.2 .2 .2]); l(2) = plot(x_hat(1:2:end,:), x_hat(2:2:end,:), 'linewidth',2,'color',[.9 .0 .0]); -legend(l,{'Demonstration','Reproduction'},'fontsize',20); +legend('Demonstration','Reproduction'); axis tight; axis equal; %Plot basis functions (display only the real part for Fourier basis functions) -- GitLab