Added ... to function arguments to allow arbitrary parameters to be passed to generic plotting function.