I have drawn the following figure. Is it possible to make the figure with length 2 unit & height 1 unit? Also is it possible to change plt.xlabel('time (s)') to plt.xlabel('$\alpha \rightarrow$')?
import matplotlib.pyplot as plt
import numpy as np
t=[0,1,2]
s=[0.05,0.1,0.2]
plt.plot(t, s)
plt.xlabel('time (s)')
plt.ylabel('voltage (mV)')
#plt.title('About as simple as it gets, folks')
plt.grid(True)
plt.savefig("test.png")
plt.show()