represents a two-dimensional view of space and the celestial sphere.

Details and Options


open allclose all

Basic Examples  (5)

Show a map of the current sky above you, showing the equatorial, ecliptic, galactic and horizon planes:

Show the sky above you on a given date, adding a background image:

Show an area of the sky around the star Betelgeuse:

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

Visualize the neighborhood of the galactic center:

Compute weekly positions of Mars from January 2022 to July 2023:

Part of the trajectory was in retrograde motion:

Options  (16)

AstroBackground  (3)

AstroGraphics uses the "BlackSky" style by default:

Use the "WhiteSky" style, with white background and dark colors for the stars:

Specify styling directives for constellation:

AstroCenter  (1)

Display Mercury and Venus, centering the map at the position of the Sun:

AstroGridLines  (2)

Show astro grid lines of the given frame:

Add astro grid lines of frames other than the frame used to construct the map:

The equatorial grid has its North Pole very close to Polaris:

AstroGridLinesStyle  (1)

Change the default style of the astro grid lines:

AstroProjection  (1)

Use different projections:

AstroRange  (1)

Show 10 angular degrees around the current position of Jupiter:

Zoom in around Jupiter until you see the positions of the Galilean satellites:

AstroRangePadding  (1)

Add 5 angular degrees of padding in all directions around the range including two stars:

AstroReferenceFrame  (5)

By default, AstroGraphics uses the local horizon frame and the "Stereographic" projection:

Show the full sky, using the equatorial frame, in the "Equirectangular" projection:

Show the full sky, using the ecliptic frame, in the "Equirectangular" projection:

Show the full sky, using the galactic frame, with the result using the "Mollweide" projection:

Compute the position of the North Celestial Pole every 1000 years for the past 14000 years:

It was close to the star Vega around year 12000:

AstroZoomLevel  (1)

Use different zoom levels to get different levels of background image quality:

Applications  (6)

Construct the analemma of the Sun, formed by its positions every day at a fixed time for a year:

Draw weekly positions, here shown over the sky of a date close to the vernal equinox:

Show the same analemma over the sky of a date close to the summer solstice:

Plot the positions of Venus at noon, every day over a period of 8 years:

Show the southern sky at 2pm at your location:

Observe the transit of Venus in front of Jupiter, November 22, 2065, better viewed near the South Pole:

Visualize an annular solar eclipse:

Visualize the famous eclipse used by Eddington to confirm Einstein's prediction of light deflection:

Wolfram Research (2022), AstroGraphics, Wolfram Language function,


Wolfram Research (2022), AstroGraphics, Wolfram Language function,


Wolfram Language. 2022. "AstroGraphics." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2022). AstroGraphics. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_astrographics, author="Wolfram Research", title="{AstroGraphics}", year="2022", howpublished="\url{}", note=[Accessed: 24-June-2024 ]}


@online{reference.wolfram_2024_astrographics, organization={Wolfram Research}, title={AstroGraphics}, year={2022}, url={}, note=[Accessed: 24-June-2024 ]}