天天看點

matlab繪制帶箭頭的圖

clear

clc

close all hidden

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

load('iiii.mat')

x=1:length(mmmm);

y=mmmm;

h=plot(x,y);

set(h,'Color','k','LineWidth',2);

set(gca,'box','off');

set(gcf,'color','white');

xlabel('\theta'),ylabel('tan\theta')

xlabel({'太陽輪的旋轉角度(^0)'},'FontSize',12);

ylabel('行星輪的瞬時弦長(mm)','FontSize',12);

%xlim([0 350]);ylim([13.6 15.4]);

a=0.1295;

b=0.108;

annotation('arrow',[a a],[0.8 0.96]);

annotation('arrow',[0.8 0.96],[b b]);

text(97,12.05,'(105,12)','FontSize',10);

matlab繪制帶箭頭的圖

繼續閱讀