Plotting simple functions