<jupyter_start><jupyter_text><jupyter_code>import numpy as np
import matplotlib.pyplot as plt
P = np.array([[2,8],
             [7,4]
])

a = np.arange(0,1,.15)

plt.scatter(a*P[0,0], a*P[1,0], color = 'Pink')
plt.scatter(a*P[0,1], a*P[1,1], color = 'Green')

plt.xlim(-10, 10)
plt.ylim(-10,10)
plt.grid()
plt.show()
Pa = np.array([[-2, -8],
               [-7, -4]
])

a = np.arange(0,1,.20)

plt.scatter(a*Pa[0,0], a*Pa[1,0], color = 'Pink')
plt.scatter(a*Pa[0,1], a*Pa[1,1], color = 'Green')

plt.xlim(-10,10)
plt.ylim(-10,10)
plt.grid()
plt.show()
E = np.array([[4,1],
              [2,4]
])

a = np.arange(0,1,.20)

plt.scatter(a*E[0,0], a*E[1,0], color = 'Pink')
plt.scatter(a*E[0,1], a*E[1,1], color = 'Green')

plt.xlim(-10,10)
plt.ylim(-10,10)
plt.grid()
plt.show()
E1 = np.array([[-4,-0],
               [0,-4]
])

a = np.arange(0,1,.15)

plt.scatter(a*E1[0,0], a*E1[1,0], color = 'Pink')
plt.scatter(a*E1[0,1], a*E1[1,1], color = 'Green')

plt.xlim(-10,10)
plt.ylim(-10,10)
plt.grid()
plt.show()<jupyter_output><empty_output>