text - add text to a specified position on the plot
gtext - interactively place text on the plot
ginput - pick off coordinates from a plot
Try:
>> plot2D
echo on x = 0:0.1:2*pi; y=sin(x); plot(x,y) grid on hold on plot(x,exp(-x),'r:*'); axis ([ 0 2*pi 0 1]) title('2-D Plots'); xlabel('Time'); ylabel('Sin(t)'); text(pi/3,sin(pi/3),'<--sin(\pi/3)') legend('Sine Wave','Decaying
Exponential'); echo off