bugfix new matdataplot api with resizing the plot, refs #9.