now it uses dataplot class instead of mat dataplot. It still shows weird scaling though..