From: CNN on
Okay, still new at all this programming. I have 2 sub plots and I'm trying to draw arrows in them. According to the help file, annotation follow normalized units. But the explanation seems to work only for one plot. In my figure how do I make each sub plot the main plot so that I can figure out where to put the arrows because they need to be in specific positions? Or can I get the annotations to work like text so that I can use that axes data to position them? My code for the first plot is below

figure(i);

subplot(2,1,1);
plot(N(:,1),M(:,1),'.r','MarkerSize', 3);
axis([-0.15 0.15 -0.02 0.02])
xlabel('Velocity');
ylabel('Transverse position');
title(['Timestep =', num2str(t(i))]);
text(-0.06, 0.016, a);
text(0.06, 0.016, b);
text(0.1, 0.006, c);
text(0.1, -0.006, d);
h1 = gca;
annotation('arrow',[0.09 0.13],[0.012 0.012]);