improved plotSpec