我试图在matlab图中绘制一个箭头,没有任何成功.
代码示例:
function [ output_args ] = example( input_args )
figure ('Name', 'example');
x = [10 30]
y = [10 30]
xlim([1, 100])
ylim([1, 100])
arrow (x, y) ???
end
Run Code Online (Sandbox Code Playgroud)
matlab中是否有任何可以绘制箭头的功能?谢谢