AstroBackground

AstroBackground

is an option that specifies the background style of an AstroGraphics map.

Details

  • The astro background of an AstroGraphics[prims,] output is the actual map that appears underneath the primitives prims. A map like AstroGraphics[{},] with no primitives will only show the astro background, and possibly auxiliary elements like astro grid lines.
  • AstroBackground values can be given as AstroBackgroundAstroStyling[skystyle] for any valid AstroStyling sky style. For named sky styles, such as "BlackSky" or "GalacticSky", AstroBackgroundAstroStyling["skystyle"] may also be given as AstroBackground"skystyle".
  • Possible sky styles include:
  • "BlackSky"stars and planets on black background
    "GalacticSky"stars and planets on Milky Way image
    "WhiteSky"stars and planets on white background
  • AstroBackgroundAutomatic uses the "BlackSky" sky style by default.
  • AstroBackgroundNone specifies that no astro background should be used, meaning no background regions are displayed.
  • AstroBackground takes precedence over Background in astro graphics.

Examples

open allclose all

Basic Examples  (3)

Sky map with the default astro background:

Use a background showing the Milky Way:

Show constellation illustrations and remove the equatorial, ecliptic and galactic planes:

Scope  (4)

Use the default background sky:

Use a background showing the Milky Way:

Use a white background sky in AstroGraphics:

Specify styling directives for constellation:

Wolfram Research (2022), AstroBackground, Wolfram Language function, https://reference.wolfram.com/language/ref/AstroBackground.html.

Text

Wolfram Research (2022), AstroBackground, Wolfram Language function, https://reference.wolfram.com/language/ref/AstroBackground.html.

CMS

Wolfram Language. 2022. "AstroBackground." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AstroBackground.html.

APA

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

BibTeX

@misc{reference.wolfram_2023_astrobackground, author="Wolfram Research", title="{AstroBackground}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/AstroBackground.html}", note=[Accessed: 18-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_astrobackground, organization={Wolfram Research}, title={AstroBackground}, year={2022}, url={https://reference.wolfram.com/language/ref/AstroBackground.html}, note=[Accessed: 18-April-2024 ]}