plotting betas ratio graph