Can we plot a function which includes objects based on points?
I wanted to plot a dot product of two-dimensional vectors. I have created vector v and I want the dot product of every position vector on xy plane.
So I tried this. But the syntax was invalid.
z = Dot[v, Vector[(x, y)]]Then I found out a valid syntax.
z = x(v) * x + y(v) * y
So my problem was solved, but I have a feeling that there might be a case which is hard to write without using object. And I want to know if there is a way to write a function which create objects based on point.