trplot function doesn't show one of the axis
3 views (last 30 days)
Show older comments
i'm trying to draw three axis and rotate them via rotx and roty functions
but when i plot them one of the axis disappears
plus whenever i change the angle inside rotx the graph
rotx(angle)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/281554/image.png)
R1=eye(3);
figure
R1=R1*rotx(pi/2);
trplot(R1,'axis',[0 1 -1 0 0 1])
Answers (1)
See Also
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!