Skip to content

Instantly share code, notes, and snippets.

View masa-anekawa's full-sized avatar
🐢
developing

Masayuki Anekawa masa-anekawa

🐢
developing
View GitHub Profile
@masa-anekawa
masa-anekawa / .gitconfig
Created April 21, 2022 06:52
Masayuki's .gitconfig
[user]
name = Masayuki Anekawa
email = anekawamasayuki@gmail.com
[include]
[core]
excludesFile = /Users/anek/.gitignore_global
editor = vi
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
plt.plot(X[0:49,1],X[0:49,2],'ro') #omega1
plt.plot(X[50:99,1],X[50:99,2],'bo')#omega2
xpl=np.linspace(-3.0,4.0,100) #superplane
ypl=-(self.W[0][0]-self.W[0][1] + (self.W[1][0]-self.W[1][1])*xpl)/(self.W[2][0]-self.W[2][1])
plt.plot(xpl,ypl, 'g')
plt.show()