AstroStyling

AstroStyling["skystyle"]

specifies the style to render the sky in an AstroGraphics map.

AstroStyling[{"skystyle","param1"val1,"param2"val2,}]

modifies the default parameter values of "skystyle" as given by the "parami"vali pairs.

Details

  • AstroStyling[] specifications are used as values of the AstroBackground option of AstroGraphics.
  • Possible forms for "skystyle" include:
  • Automaticuse default styling
    Noneuse no explicit styling
    "BlackSky"show stars, planets and other astronomical objects on a black background
    "GalacticSky"show astronomical objects over an image of the Milky Way
    "WhiteSky"show astronomical objects on a white background
  • Stars are displayed as points with sizes determined by their apparent magnitude and colors representing their temperature. The parameter "StarLabelStyle" specifies a style for their label.
  • Galaxies are displayed as oriented ellipses, with style given by the parameter "GalaxyStyle". The parameter "GalaxyLabelStyle" specifies a style for their label.
  • Open star clusters are displayed as dotted circles, with style given by the parameter "OpenClusterStyle". The parameter "OpenClusterLabelStyle" specifies a style for their label.
  • Globular star clusters are displayed as circles with an inner cross, with style given by the parameter "GlobularClusterStyle". The parameter "GlobularClusterLabelStyle" specifies a style for their label.
  • Diffuse nebulas are displayed as squares, with style given by the parameter "DiffuseNebulaStyle". The parameter "DiffuseNebulaLabelStyle" specifies a style for their label.
  • Planetary nebulas are displayed as circles with an outer cross, and with style given by the parameter "PlanetaryNebulaStyle". The parameter "PlanetaryNebulaLabelStyle" specifies a style for their label.
  • Possible parameters modifying the display of star constellations include:
  • "ShowConstellations"Automaticwhether to show constellations, or which ones
    "ShowConstellationBoundaries"Truewhether to show constellation boundary lines
    "ShowConstellationIllustrations"Falsewhether to show artistic renderings of constellations
    "ShowConstellationLines"Truewhether to show constellation stick lines
    "ShowConstellationNames"Truewhether to show names of constellations
  • Parameters controlling the styling of the different parts of a constellation include:
  • "ConstellationBoundaryStyle"style of the boundary lines
    "ConstellationIllustrationStyle"style of the illustration polygons
    "ConstellationLineStyle"style of the constellation stick lines
    "ConstellationNameStyle"style of the constellation text names
    "ConstellationRegionStyle"style of the constellation background polygon

Examples

open allclose all

Basic Examples  (1)

Display the area around the constellation Lepus with default "BlackSky" astro styling:

Activate the display of constellation illustrations, with default parameters:

Use a different style for the constellation stick lines and boundary lines:

Scope  (4)

Specify the color for star labels:

Specify the style for galaxies:

Specify the style for planetary nebulas:

Specify a combination of styling directives for a constellation:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2023_astrostyling, organization={Wolfram Research}, title={AstroStyling}, year={2022}, url={https://reference.wolfram.com/language/ref/AstroStyling.html}, note=[Accessed: 29-March-2024 ]}