MATLABのメモ

figure(1); clf;
[ax,h1,h2] = plotyy(t/3600, y, t/3600,u);
grid on;

xlabel('Time [hours]');
ylabel('GRS Temperature [K]');
title('Simulation Results');
set(get(ax(2),'Ylabel'),'String','Heater Temperature [K]');
set(h2,'LineStyle','--');
text(11,0.066, '\leftarrow GRS', 'HorizontalAlignment', 'left')
text(20,0.12, 'Heater \rightarrow', 'HorizontalAlignment', 'right')
print -depsc2 grs_heater_comp_3.eps