Radial distribution function

Dears
I reviewed in some published paper the relation between r (A) and g (r) as in figure below. which the reading g (r) start for Si-Si from 0, Si-O from 1, Si-CH3 from 2, Is that from ovito or from lammps input file, and how,

thanks for help