%  Version 1  

%  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
% AS EXPLAINED IN THE TEXT, THIS CODE IS SHOWN FOR AN ILLUSTRATION
% PURPOSE ONLY. YOU SHOULD ___NOT__ BASE ANY OF YOUR CODES ON IT.
%  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

%  Before running this code,
%  execute the code for part 1 and do NOT clear the workspace.
shift_horiz = 0.8;
shift_vert = -0.3;   % define the shift's components
x_letter_shifted = x_letter + shift_horiz;
y_letter_shifted = y_letter + shift_vert;
                     % shift the coordinates of the letter           
figure(2);
plot(x_letter,y_letter,x_letter_shifted,y_letter_shifted,'k')
axis([0 2 -0.5 1])
            % plot the original (default blue) and the shifted (black) letters 
            % inside the rectangle  [0 2] x [-0.5 1]