def plot_time(phase_list, cycles): # fig=plt.figure() # Plot top phase bar ax = plt.axes([0.1, 0.9, 0.8, 0.025]) phasebar.plot(ax, phase_list) # Plot counter values ax2 = plt.axes([0.1, 0.1, 0.8, 0.75]) ax2.plot(cycles) # Set same width ax.set_xlim(ax2.get_xlim()) # plt.show()
def plot_time(phase_list, signatures): # fig=plt.figure() # Plot top phase bar ax = plt.axes([0.1, 0.9, 0.8, 0.025]) phasebar.plot(ax, phase_list) # Plot counter values ax2 = plt.axes([0.1, 0.1, 0.8, 0.75]) ax2.imshow(signatures, aspect='auto', interpolation='nearest', cmap=cmx.binary) # Set same width ax.set_xlim(ax2.get_xlim()) # plt.show()
def plot_time(phase_list, signatures): # fig = plt.figure() # Plot top phase bar ax = plt.axes([0.1, 0.9, 0.8, 0.025]) phasebar.plot(ax, phase_list) # Plot counter values ax2 = plt.axes([0.1, 0.1, 0.8, 0.75]) ax2.imshow(signatures, aspect='auto', interpolation='nearest', cmap=cmx.binary) # Set same width ax.set_xlim(ax2.get_xlim()) # plt.show()