The PyXPlot logo

PyXPlot

Examples - Stellar Evolution

Next

A plot of the evolving temperature and luminosity of a star as it ages

Script

set xlabel '$\log (T/K)$'
set ylabel '$\log(L/L_\odot)$'
set nokey
set grid x1y1
plot [5.5:3.2][-2:4] 'stellar_evolution.dat' using 4:5 w l

      

Notes

In this example, the using modifier is utilized to plot the fourth and fifth columns of a datafile.