3D plot - x, y,and z axis origin in the same vertice of the cube?
이전 댓글 표시
How can I do it? It's easier for me to visualize 3D plots this way.
Thanks
댓글 수: 6
Walter Roberson
2015년 11월 21일
How would this differ from translating the data so that the minimum is (0,0,0) ?
rbarata
2015년 11월 21일
Walter Roberson
2015년 11월 21일
Can you show us a sample diagram of what you would like?
Geoff Hayes
2015년 11월 21일
rbarata's answer moved here
Sure. Here's the pic:

Geoff Hayes
2015년 11월 21일
rbarata - what code are you using to create the above plot (the one on the right)?
답변 (1개)
Walter Roberson
2015년 11월 21일
0 개 추천
Okay, you are talking about which axes is labeled. For 2D plots, there is an XAxisLocation and YAxisLocation property that allow you to move labels between bottom and top, or left and right, but there is no corresponding ZAxisLocation property (at least up to R2014a), and the properties appear to be ignored when you are in a perspective view.
I suggest that you might be able to get further by using John Barber's Contribution from the File Exchange. If it is not usable immediately then it would at least have all of the proper framework for the work.
카테고리
도움말 센터 및 File Exchange에서 Color and Styling에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!