matlab 想画两个子,横着排,1在左边,2在右边,语句如何写?

t?=?0:0.01:2*pi;

x?=?cos(t);

y1?=?sin(t);

y2?=?tan(t);

subplot(121);?plot(x,y1);

subplot(122);?plot(x,y2);