Basic code for some of my matlab plots