Plot 用两个不同的标记绘制两组带箭头的品脱

Plot 用两个不同的标记绘制两组带箭头的品脱,plot,matlab-figure,Plot,Matlab Figure,如何标记第一个点+和第二个点*,并用箭头将它们从第一个点连接到第二个点 我只能用与正常线连接的相同标记o生成第一和第二个点 dis = 1; num = 10; B1_pos = ((rand(num,1)) + 1i*(rand(num,1))) * dis; B2_pos = ((rand(num,1)) + 1i*(rand(num,1))) * dis; for i=1:num plot([real(B1_pos(i,1)),imag(B1_pos(i,1))],[real(B2

如何标记第一个点
+
和第二个点
*
,并用
箭头将它们从第一个点连接到第二个点

我只能用与
正常
线连接的相同标记
o
生成第一和第二个点

dis = 1;
num = 10;
B1_pos = ((rand(num,1)) + 1i*(rand(num,1))) * dis;
B2_pos = ((rand(num,1)) + 1i*(rand(num,1))) * dis;
for i=1:num
    plot([real(B1_pos(i,1)),imag(B1_pos(i,1))],[real(B2_pos(i,1)),imag(B2_pos(i,1))],'o-b')
    hold on
end
grid on