Plotting Cubic Functions