From bc0eb3519f1c9db43c39aa99a2869255cf91f484 Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 30 Sep 2014 22:25:32 +0200 Subject: [PATCH] Plot the data --- ex1/plotData.m | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ex1/plotData.m b/ex1/plotData.m index 3a10239..837469f 100644 --- a/ex1/plotData.m +++ b/ex1/plotData.m @@ -16,10 +16,9 @@ function plotData(x, y) figure; % open a new figure window - - - - +plot(x, y, 'rx', 'MarkerSize', 10); +ylabel('Profit in $10,000s'); +xlabel('Population of City in 10,000s'); % ============================================================