plotting errors