Books:
Zig Zag pattern plot using python
-
import numpy as np
import matplotlib.pyplot as plt
size=10
x=np.arange(size)
y=np.where(x%2==0,1,0)
fig,ax=plt.subplots(figsize=(6,4))
plt.plot(x,...
No comments:
Post a Comment