SHARE
TWEET

Untitled

a guest Feb 14th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import numpy as np
  2. import matplotlib.pyplot as mpl
  3. rawdata = np.loadtxt("Data.txt", skiprows=1, usecols=(1, 2, 3, 4))
  4. logdata = np.log2(rawdata)
  5. m1 = np.subtract(logdata[:, 0], logdata[:, 1])
  6. a1 = np.divide(np.add(logdata[:, 0], logdata[:, 1]), 2)
  7. print(mpl.scatter(a1, m1))
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