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 allBasic Examples (3)
Scope (4)
Use the default background sky:
Use a background showing the Milky Way:
Use a white background sky in AstroGraphics:
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