I am trying to Plot a vector with variables coordinates.
I could already manage to plot a arrow between two points but now i want to change them preferable direct in the Plot.
I solved it by myself^^.
The Problem is that you cannot put a variable in a vector but you can always multible a variable with a vector.
The solution looks like:
What version of Mathematica are you using? I’m using 12.1 and the code you posted works for me.
That said, I did a little experiment and noticed that if I have r already defined, I do get the error you get. So, I suggest restarting your kernel and see if that “fixes” it.
I’m just learning the Manipulate function, but one thing I have noticed (at least for me) is that I have to watch for symbol name conflicts. That said, I do not see what the issue is with the code you have.
I have to jump on some conference calls. If no one else finds a solution before I can get back to this, I will experiment some more this afternoon.