Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Plot the positions of stars in a Hertzsprung–Russell diagram
ResourceFunction["HertzsprungRussellDiagram"][] plots the position of the Sun on a Hertzsprung–Russell diagram. | |
ResourceFunction["HertzsprungRussellDiagram"][entities] plots the positions of the specified entities on a Hertzsprung–Russell diagram. |
Plot the position of the Sun on the Hertzsprung–Russell diagram:
In[1]:= | ![]() |
Out[2]= | ![]() |
Plot the positions of other stars on the Hertzsprung–Russell diagram:
In[3]:= | ![]() |
Plot multiple stars on the Hertzsprung–Russell diagram:
In[4]:= | ![]() |
Plot entity classes of stars on the Hertzsprung–Russell diagram:
In[5]:= | ![]() |
Out[6]= | ![]() |
HertzsprungRussellDiagram takes the same options as ListPlot, but the following options are of particular interest:
In[7]:= | ![]() |
Out[8]= | ![]() |
In[9]:= | ![]() |
Out[10]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License