added axis and plot labels and adjusted the range so the legend would fit