t = 0:0.1:360;
y1 = sin(t/180*pi);
y2 = sin((t-120)/180*pi);
y3 = sin((t-240)/180*pi);
h = figure;
plot(t, y1, t, y2, t, y3, '-', 'color', 'k', 'lineWidth', 2);
axis off
[h h_a h_p h_arrow] = plot_with_arrow(h,[],[],'k', 'pa');
htext_x = Arrow_Xlabel(h_a,'t','pa');
set(htext_x, 'FontSize', 20);
生成的图像如下:
下载可以从参考[2]中下载。
参考:
【1】 Matlab绘制带箭头坐标轴图形 http://www.matlabsky.com/thread-39948-1-1.html
【2】http://download.csdn.net/detail/lsxpu/9184531