Guest User

Untitled

a guest
Nov 17th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. raise ValueError(_safezip_msg % (Nx, i + 1, len(arg)))
  2. ValueError: In safezip, len(args[0])=16 but len(args[1])=48
  3.  
  4. x0, y0 = x_val_all[0:16], y_val_all[0:16]
  5. x0err, y0err = x_error_all[0:16], y_error_all[0:16]
  6. x1, y1 = x_val_all[17:33], y_val_all[17:33]
  7. x1err, y1err = x_error_all[17:33], y_error_all[17:33]
  8. x2, y2 = x_val_all[33:49], y_val_all[33:49]
  9. x2err, y2err = x_error_all[33:49], y_error_all[33:49]
  10.  
  11. plt.errorbar(x0, y0, xerr=x0err, linestyle='None', ecolor="black", label= "Channel Width")
  12. plt.errorbar(x0, y0, yerr=y0err, linestyle='None', ecolor="black", label= "Standard Deviation")
  13. plt.errorbar(x1, y1, xerr=x1err, yerr=y1err, ecolor="red")
  14. plt.errorbar(x2, y2, xerr=x2err, yerr=y2err, ecolor="purple")
  15. plt.show()
Add Comment
Please, Sign In to add comment