October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here are the steps to plot the required 3D plot:
fig = plt.figure(figsize=(10,6))ax = fig.add_subplot(111, projection='3d')
x = [0, 1, 2, 3, 4, 5]y = [19, 12, 6, 4, 3, 2]ax.bar(x, y, zs=0, zdir='y', label='Number of Defects in (X,Z)')
x = [0, 1, 2, 3, 4, 5]y = [41, 67, 80, 89, 96, 100]ax.plot(x, y, zs=0, zdir='z', color='g', lw=5, label='Cumulative Defects in (X,Y)')
ax.set_ylim(0,100)ax.set_zlim(0,20)
ax.set_xlabel('Defect Reason Code')ax.set_ylabel('Cumulative %of defects') ...Read now
Unlock full access