Advertisement
Guest User

Untitled

a guest
May 24th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. def plotpairs(features, k, m):
  2. TD_ind=np.where(diagnosis==0)[0]
  3. ASD_ind=np.where(diagnosis==1)[0]
  4.  
  5. betw1_TD = features[TD_ind, k]
  6. betw1_ASD = features[ASD_ind, k]
  7. betw2_TD = features[TD_ind, m]
  8. betw2_ASD = features[ASD_ind, m]
  9.  
  10. plt.scatter(betw1_TD, betw2_TD, color='red', marker='o')
  11. plt.scatter(betw1_ASD, betw2_ASD, color='blue', marker='o')
  12.  
  13. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement