3D plot - x, y,and z axis origin in the same vertice of the cube?

3 次查看(过去 30 天)
How can I do it? It's easier for me to visualize 3D plots this way.
Thanks
  6 个评论
Geoff Hayes
Geoff Hayes 2015-11-21
rbarata - what code are you using to create the above plot (the one on the right)?
rbarata
rbarata 2015-11-21
编辑:rbarata 2015-11-21
Geoff, I'm not sure if I'm understanding correctly your question. I'm not using any code, the pic in the right is what Matlab shows when plotting a 3D vector (for ex). So, it's the default view. What I want it to change it into the left pic and, if possible, make it the default.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2015-11-21
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.

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by