quick plot of rg pdf using histogram added here