new function to plot 1, 2 or 3 ratios)