Move plot routines from test to plotOD