代码
figure scatter([1,2,3],[1,2,3]); ax = gca; ax.YDir = 'reverse' ah = annotation('arrow','position',[ 2.5 2.5 -1 -1]); set(ah,'parent',ax);
给出错误的矢量头对齐:
有什么想法如何解决这个问题吗?
matlab plot matlab-figure
matlab ×1
matlab-figure ×1
plot ×1