I want to draw an unit circle(cos+sin), using numpy and matplotlib. I wrote the following:
t = np.linspace(0,np.pi*2,100)
circ = np.concatenate((np.cos(t),np.sin(t)))
and I plotted, but failed.
ax.plot(t,circ,linewidth=1)
ValueError: x and y must have same first dimension