diff --git a/toolbox/graphics/balloonplot.m b/toolbox/graphics/balloonplot.m index 44f5fc4db..483cadae9 100644 --- a/toolbox/graphics/balloonplot.m +++ b/toolbox/graphics/balloonplot.m @@ -313,9 +313,12 @@ boo=Res(:)>0; bubblechart(xcoo(boo),ycoo(boo),Res2(boo),'b'); hold('on') - h=bubblechart(xcoo(~boo),ycoo(~boo),Res2(~boo),'r'); + bubblechart(xcoo(~boo),ycoo(~boo),Res2(~boo),'r'); hold('off') - legend('Pos.','Neg.','Location','best'); + clickableMultiLegend('Pos.','Neg.','Location','best'); + % Lock SizeLimits for consistency + bubblelim(gca,[min(min(Res2)) max(max(Res2))]); + title('Pearson residuals$^2: (\pm) ({n_{ij}-n_{ij}^*})^2/{{n_{ij}^*}}$', ... 'Interpreter','latex','FontSize',16) h=gcf; @@ -344,4 +347,4 @@ grid('on') end -%FScategory:VIS-Mult \ No newline at end of file +%FScategory:VIS-Mult