plotting three plots