Generate a plot based on 5 inputs.