From 224a17e4d3132577de298639c918cdc2b4c49e39 Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 14 Oct 2014 10:19:09 +0200 Subject: [PATCH] Plot negative samples in red --- ex2/plotData.m | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ex2/plotData.m b/ex2/plotData.m index 4e24c87..73e2b78 100644 --- a/ex2/plotData.m +++ b/ex2/plotData.m @@ -15,14 +15,7 @@ pos = find(y==1); neg = find(y==0); plot(X(pos, 1), X(pos, 2), 'k+'); -plot(X(neg, 1), X(neg, 2), 'ko'); - - - - - - - +plot(X(neg, 1), X(neg, 2), 'ro'); % =========================================================================