Plot the data
This commit is contained in:
parent
136815f0b7
commit
bc0eb3519f
1 changed files with 3 additions and 4 deletions
|
@ -16,10 +16,9 @@ function plotData(x, y)
|
||||||
|
|
||||||
figure; % open a new figure window
|
figure; % open a new figure window
|
||||||
|
|
||||||
|
plot(x, y, 'rx', 'MarkerSize', 10);
|
||||||
|
ylabel('Profit in $10,000s');
|
||||||
|
xlabel('Population of City in 10,000s');
|
||||||
|
|
||||||
|
|
||||||
% ============================================================
|
% ============================================================
|
||||||
|
|
||||||
|
|
Reference in a new issue