script to draw baseline curves for the 4 phenotypes