adding minimum and maximum model to 1D plot