plotline and right y-axis scaling added