SHARE
TWEET

Untitled

a guest Mar 26th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using Polynomials
  2. x=df2[:RozmiarMacierzy]
  3. y=df2[:avg_Naive_t]
  4.  
  5. y_Naive_std=df2[:std_Naive_t]
  6. yNaive=df2[:avg_Naive_t]
  7.  
  8. y_Better_std=df2[:std_Better_t]
  9. yBetter=df2[:avg_Better_t]
  10.  
  11. y_BLAS_std=df2[:std_BLAS_t]
  12. yBLAS=df2[:avg_BLAS_t]
  13.  
  14. fitNaive=polyfit(x,yNaive,3)
  15. fitBetter=polyfit(x,yBetter,3)
  16. fitGsl=polyfit(x,yBLAS,3)
  17. xD=100:100:500
  18.  
  19. scatter(x,y,yerr=y_Naive_std)
  20. plot!(xD, polyval(fitNaive, xD))
  21. plot!(xD, polyval(fitBetter,xD))
  22. plot!(xD,polyval(fitGsl,xD))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top