Tuesday, April 20, 2021

#21Y002 self-teaching - encircling

brief description: encircling 
result:

sample code:
learned new techniques

the upper portion of the code is the same as ‘self-teaching #21Y001 scatter plot’. 
the difference is the new portion of function def ‘encircle’.

np.c[x,y] concatenates two lists, example below
np.c_[np.array([1,2,3]), np.array([4,5,6])] 
returns >>>>>> array([[1, 4], [2, 5], [3, 6]])





 
  




No comments:

Post a Comment