3D plot - x, y,and z axis origin in the same vertice of the cube?
3 views (last 30 days)
Show older comments
How can I do it? It's easier for me to visualize 3D plots this way.
Thanks
6 Comments
Geoff Hayes
on 21 Nov 2015
rbarata - what code are you using to create the above plot (the one on the right)?
Answers (1)
Walter Roberson
on 21 Nov 2015
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.
0 Comments
See Also
Categories
Find more on Line 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!