replaced mat plots with qwt plots