WOLFRAM

is an option for Graphics3D and related functions which specifies what direction in scaled coordinates should be vertical in the final image.

Details

  • The default setting is ViewVertical->{0,0,1}, which specifies that the axis in your original coordinate system should end up vertical in the final image.
  • The setting for ViewVertical is given in scaled coordinates, which run from 0 to 1 across each dimension of the bounding box.
  • Only the direction of the vector specified by ViewVertical is important; its magnitude is irrelevant.
  • Changing ViewVertical has the effect of tipping a simulated camera.
  • Explicit settings for ViewMatrix override settings for ViewVertical.

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

By default, the direction of the axis is the vertical direction in the final image:

Out[1]=1

Use the direction of the axis as the vertical direction in the final image:

Out[1]=1

Various view vertical directions:

Out[1]=1

Applications  (1)Sample problems that can be solved with this function

Orient a 3D rendering of a 2D cellular-automaton evolution:

Out[1]=1
Wolfram Research (1991), ViewVertical, Wolfram Language function, https://reference.wolfram.com/language/ref/ViewVertical.html (updated 2007).
Wolfram Research (1991), ViewVertical, Wolfram Language function, https://reference.wolfram.com/language/ref/ViewVertical.html (updated 2007).

Text

Wolfram Research (1991), ViewVertical, Wolfram Language function, https://reference.wolfram.com/language/ref/ViewVertical.html (updated 2007).

Wolfram Research (1991), ViewVertical, Wolfram Language function, https://reference.wolfram.com/language/ref/ViewVertical.html (updated 2007).

CMS

Wolfram Language. 1991. "ViewVertical." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ViewVertical.html.

Wolfram Language. 1991. "ViewVertical." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ViewVertical.html.

APA

Wolfram Language. (1991). ViewVertical. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ViewVertical.html

Wolfram Language. (1991). ViewVertical. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ViewVertical.html

BibTeX

@misc{reference.wolfram_2025_viewvertical, author="Wolfram Research", title="{ViewVertical}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ViewVertical.html}", note=[Accessed: 08-July-2025 ]}

@misc{reference.wolfram_2025_viewvertical, author="Wolfram Research", title="{ViewVertical}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ViewVertical.html}", note=[Accessed: 08-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_viewvertical, organization={Wolfram Research}, title={ViewVertical}, year={2007}, url={https://reference.wolfram.com/language/ref/ViewVertical.html}, note=[Accessed: 08-July-2025 ]}

@online{reference.wolfram_2025_viewvertical, organization={Wolfram Research}, title={ViewVertical}, year={2007}, url={https://reference.wolfram.com/language/ref/ViewVertical.html}, note=[Accessed: 08-July-2025 ]}