Drawing TVector3s

Hello-
I’m sorry for being dense, but is there a trick to plotting TVector3s?

If I execute the following, I get a blank canvas:

TVector3 x(1,0,0);
x->Draw();

Thanks,
–Chad

[quote=“technobauble”]Hello-
I’m sorry for being dense, but is there a trick to plotting TVector3s?
[/quote]

No.

The example from my original post did not produce the output I expected. So, something (possibly my expectation) is incorrect. I was expecting to see axes with an arrow showing the vector x that I had defined.

My goal is to produce a drawing showing several vector additions. Is it possible to do this with vector objects, such as TVector2s and TVector3s, that I can also calculate and manipulate mathematically?

Thanks,
–Chad

TVectorN classes do not define a Paint method, thus you can see nothing in a canvas (even after you call ‘Draw’ - who simply attaches an object to the pad’s list of primitives).
You can use some trick with TArrow objects or something from eve (for 3D case) to “emulate” graphic representation of vectors.

Ah, so you do have to use a trick.

Thanks, I’ll see what I can do with one of those other classes.
–Chad