basic error plotting