Added scatter plot and histogram plotting.