#graphing with domain restriction