如何从表格中绘制方波

时间:2019-05-22 16:31:10

标签: python matplotlib plot

我有一张桌子:

 table=[0,0,0,1,1,0,0,1,1,0,0,1,1,1,1,0,0]

如何使用Python绘制像方波一样的表格? 我想要这样的效果:

enter image description here

0 个答案:

没有答案