I need to color each vector into different colors... but this formula just doesn't work:
m = Axes3D[10];
n = ListPointPlot3D[{{4, 5, 6}, {3, -3, -6}, {2, 2, 5}},
PlotLegends -> Automatic, ImageSize -> 400,
PlotStyle -> PointSize[0.03], PlotRange -> {-10, 10}];
o = Graphics3D[Arrow[{{4, 5, 6}, {3, -3, -6}}], Axes -> True,
Boxed -> False, ColorOutput -> Red](*vector a*);
r = Graphics3D[Arrow[{{4, 5, 6}, {2, 2, 5}}], Axes -> True,
Boxed -> False, ColorOutput -> Blue](*vector b*);
s = Graphics3D[Arrow[{{2, 2, 5}, {3, -3, -6}}], Axes -> True,
Boxed -> False, ColorOutput -> Black](*vector a-b*);
Show[m, n, o, r, s]
ColorOutput
? It says thatColorOutput
is only used in version 5 and below, what version of Mathematica are you using? Have you checked the documentation forGraphics3D
? Can you find any examples that color objects? $\endgroup$Axes3D
? What is it? $\endgroup$