draw graphs for the envelope theorem