ec_demcurve function

Create demand curves