
将示波器输出保存到workspace中,输出类型选Structure with Time。
如保存在workspace中的名字为VDC,该示波器有两条曲线,若要两条都显示,命令为:
plot(VDC.time,VDC.signals.values);
选择Edit中 copy figure 将图复制
若显示第一条:
plot(VDC.time,VDC.signals.values(:,1))
将一个示波器中的3个通道画到一张图中:
原图为:
subplot(3,1,1):
plot(motor.time,motor.signals(1,1).values);
subplot(3,1,2)
plot(motor.time,motor.signals(1,2).values);
subplot(3,1,3)
>> plot(motor.time,motor.signals(1,3).values);
