how can i use posegraph in 3d

4 views (last 30 days)
Hassan Bosha
Hassan Bosha on 5 Apr 2020
i'm drawing 4 matrices each on is relative to another
i want to use pose graph 3d to add relative function to them on the graph
A = eye(4);
UtoA = [ 0.866 -0.5 0 11 ; 0.5 0.866 0 -1 ; 0 0 1 9 ; 0 0 0 1];
BtoA = [ 1 0 0 0 ; 0 0.866 -0.5 10 ; 0 0.5 0.866 -20 ; 0 0 0 1];
CtoU = [ 0.866 -0.5 0 -3 ; 0.433 0.75 -0.5 -3; 0.25 0.433 0.866 3 ; 0 0 0 1];
trplot(A,'color','r','axis',[-7 13 -6 13 -23 11])
hold on
trplot(UtoA,'color','g','axis',[-7 13 -6 13 -23 11])
trplot(BtoA,'color','b','axis',[-7 13 -6 13 -23 11])
trplot(CtoU,'color','y','axis',[-7 13 -6 13 -23 11])

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!