%
% plot01.m
%
% Plot y = x ^ 2
%
% Programming Concepts:  Simple line plot, control marker and line type
%
% Matlab-Monkey.com
% 2/2/2019

% tidy-up your workspace
clc         % clear command window
clear       % clear all variables
close all   % close all graphics windows

x = 0:0.5:10;   % x values range from 1 to 10 in steps of 0.5
y = x.^2;       % squre each element in x array and store in y

plot(x,y)       % plot y vs. x 

xlabel('x')     % label horizontal axis
ylabel('y')     % label vertical axis
title('graph of y = x^2')    % title

