Question: Printing 2D math programatically using typeset()

Using the typeset() plot option, I am interested in printing labels of vectors on Maple graphics. The vector labels must have arrows on top. I can do this already if I know the name of the vector in advance, e.g. "V", by invoking the command plots[textplot]([x, y, typeset(`#mover(mi( "V" ),mo("→"))`)]); But what I really want is to write a procedure that will take the name of the vector as an argument, so that other procedures I write can create and annotate vector diagrams. However, the backquote ` symbol used in the code above can only interpret literal strings, not variable strings. That is, the following *doesn't* work printVectorLabel := proc (x, y, VECTORNAME) plots[textplot]([x, y, typeset(`#mover(mi( VECTORNAME ),mo("→"))`)]); end proc: Calling printVectorLabel(5, 10, "a") would ignore the argument "a" and just print the symbol "VECTORNAME" with an arrow on top. Can you help me? Is there a way to "get around" the backquote literalism? Thank you!
Please Wait...