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[1]= |
|
Plot the positions of other stars on the Hertzsprung–Russell diagram:
In[2]:= |
|
Out[2]= |
|
Plot multiple stars on the Hertzsprung–Russell diagram:
In[3]:= |
|
Out[3]= |
|
Plot entity classes of stars on the Hertzsprung–Russell diagram:
In[4]:= |
|
Out[4]= |
|
HertzsprungRussellDiagram takes the same options as ListPlot, but the following options are of particular interest:
In[5]:= |
|
Out[5]= |
|
In[6]:= |
|
Out[6]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License