Plotts done in matlab code