Pyxplot

Examples - Mass distribution of the Universe


Prev
Next

Download this example:

Using the piechart command to draw a pie chart

In this example, we use Pyxplot's piechart command to produce a diagram of the composition of the Universe, showing that of the mass in the Universe, only 4% is in the form of the baryonic matter; the rest comprises 22% in the form of dark matter and 74% in the form of dark energy.

Script

set palette gray40, gray60, gray80
set width 6
piechart 'pie-mass.dat' using $1 label key "%s"%($2)