% curv.m  96/08/06
%
% Plot a curve in the xy plane 
%

    x=(.5:.1:2.5)';
    y=tanh(2*(x-1.5))+1.5;
    lx=length(x);
    plot(x,y,'w-');
    xmax=3;
    ymax=3;
    axis([0 xmax 0 ymax]);
    hold on;
    plot(x(1),y(1),'wo');
    plot(x(lx),y(lx),'wo');
    plot(x(10),y(10),'wo');
    plot(x(11),y(11),'wo');

    xlabel('x');
    ylabel('y');
    text(0.4,0.3,'r(t=a)');
    text(2.4,2.3,'r(t=b)');
    text(1.0,1.3,'r(t_0)');
    text(1.6,1.5,'r(t_0+dt)');

    
    title('Plot of curve C paramaterized by r(t)');

    hold off;
