% examp.m
%
% M-file to produce figure of region between y=x and y=x^2
% between x=0 and x=1.

    hold off;
    x=(0:.025:1);
    y1=x;
    y2=x.^2;
    plot(x,y1,'w-');
    hold on;
    plot(x,y2,'w-');
    axis([-.5 1.5 -.5 1.5]);
    plot([0 0],[-.5 1.5],'w-');
    plot([-.5 1.5],[0 0],'w-');
    text(0.75,0.5,'y=x^2');
    text(0.25,0.5,'y=x');
    text(1.2,-.1,'X');
    text(-.1,1.2,'Y');

    hold off;
