Add a x/y axis length check for DOSplotter