% reg3d.m 96/07/15
%
% Program to plot projection of 3D region in xy plane
% 

% Plot x axis

    hold off;
    plot([0 2],[2 0],'w-');
    axis([0 3 0 3]);
    xlabel('x');
    ylabel('y')
    text(1,1.2,'y=2-x  or  x=2-y');
    text(.2,1.2,'D');
