Added integral plotting functionality.