AxesOrigin

AxesOrigin

is an option for graphics functions that specifies where any axes drawn should cross.

Details

  • In 2D graphics, AxesOrigin->{x,y} specifies that the axes should cross at the point {x,y}.
  • In 3D graphics, AxesOrigin->{x,y,z} specifies that the axes should cross at the point {x,y,z}.
  • In 2D graphics, AxesOrigin->Automatic uses an internal algorithm to determine where the axes should cross. If the point is within, or close to, the plotting region, then it is usually chosen as the axes origin.
  • In contour and density plots, AxesOrigin->Automatic puts axes outside the plotting area.
  • In 3D graphics, AxesOrigin->Automatic puts axes on the outer box.

Examples

open allclose all

Basic Examples  (2)

Determine the axes origin automatically:

Specify the axes origin explicitly:

Scope  (2)

By default, if is within the range, it is chosen to be the axes origin:

If is not within the range, an internal algorithm determines the axes origin:

Properties & Relations  (1)

In 3D, AxesEdge specifies on which bounding box edge the axes should be drawn:

Neat Examples  (1)

Move the axes origin using a locator:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_axesorigin, author="Wolfram Research", title="{AxesOrigin}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/AxesOrigin.html}", note=[Accessed: 09-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_axesorigin, organization={Wolfram Research}, title={AxesOrigin}, year={2008}, url={https://reference.wolfram.com/language/ref/AxesOrigin.html}, note=[Accessed: 09-October-2024 ]}