added interpolation option and fixed alignment of the legend labels