From 6a50d2dbeb5cfad3713ab5a93744c3c20f41a0f1 Mon Sep 17 00:00:00 2001 From: Riccardo Taormina Date: Wed, 24 Jun 2015 15:52:20 +0800 Subject: [PATCH] added ; to silence output on screen --- plotFrequencyMatrix.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plotFrequencyMatrix.m b/plotFrequencyMatrix.m index 78ebdc0..3a00d75 100644 --- a/plotFrequencyMatrix.m +++ b/plotFrequencyMatrix.m @@ -95,14 +95,14 @@ % add secondary y axis % check if metricToPrint was given, otherwise go for RMSE -temp = accuracies +temp = accuracies; labels = arrayfun(@(x) sprintf('%3.3f',x),temp(sIxes),... 'UniformOutput',false); xs = repmat(nFeat+0.625,1,nSubsets+1); ys = [0,1:nSubsets]; text(xs,ys,cat(1,'accuracy',labels)); -[~,ixBest] = max(accuracies(sIxes)) +[~,ixBest] = max(accuracies(sIxes)); text(xs(ixBest),ys(ixBest+1),labels(ixBest),'Color','red'); axis square