udibehar
(Ehud Behar)
1
I am working on a 3D plot, that I want to view in a particular angle, or view-point, as that shown in the attached image:
(Made with Windows paint)
My Options for the 3D plot now are
ViewPoint -> {5, 2, 3},
ViewVertical -> {0, 0, 1}
After a few trial and error, I found that {5,2,3} looks like a good “Point of view”,
but passing {0,0,1} to ViewVertical doesn’t seem to rotate the axes with the z-axis pointing upward, as I want it to.
What is the correct vectors to pass to these options? Or am I not making use of some other “Viewing Geometry” option that is needed?
You may try watching the scene from afar, so that all vertical lines will be projected as almost vertical (near orthographic view):
ViewPoint -> 100*{5, 2, 3}
For exact orthographic view, have a look at ViewMatrix.
udibehar
(Ehud Behar)
3
Thanks, but I am afraid it is not exactly what I asked for.
Most important for me is that the z axis points upward. How to do that?
Try this:
Graphics3D[{Arrow[{{0, 0, 0}, {0, 0, 1}}],
Text[z, {0, 0, 1}, {3, 0}],
Arrow[{{0, 0, 0}, {0, 1, 0}}], Arrow[{{0, 0, 0}, {1, 0, 0}}]},
ViewPoint -> 100*{5, 2, 3}, Boxed -> False]
mfroeling
(Martijn Froeling)
5
There is a bit about view options in 3D graphics in this video that I think is very helpful.
https://www.wolfram.com/wolfram-u/catalog/vis422/