# Issue with plot the arrays

Double-click __here__ for the solution.

<!-- Your answer is below:

a = np.array([-1, 1])

b = np.array([1, 1])

Plotvec2(a, b)

print("The dot product is", np.dot(a,b))

-->

This code is giving error.

Error: Plotvec2 is not defined.

**1**vote

kalgandl
shared this idea