Fix errors in plot examples