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'); % ============================================================