improve RatioPlot template