Changed it so that it will plot multiple plots on same figure.