![](https://secure.gravatar.com/avatar/50e7e6ec58e101311283a40e60c33572.jpg?s=120&d=mm&r=g)
Sorry for the question. I figured it out. I have square brackets
instead of braces in the \startuseMPgraphic line.
On Tue, Dec 1, 2009 at 3:52 PM, Curiouslearn
Can someone please tell me why the code below does not work?
Thanks a ton.
\starttext
\startuseMPgraphic[CS] u:=1cm; pickup pencircle scaled 2pt; %Paths path demandCS; demandCS := (0,5u) -- (10u,0); % Draw Demand draw demandCS withcolor 0.5red; % The point on demand curve draw ((6,2) -- (6,0)) scaled u dashed evenly withpen pencircle scaled 1pt withcolor 0.5white; draw ((6,2) -- (0,2)) scaled u dashed evenly withpen pencircle scaled 1pt withcolor 0.5white; \stopuseMPgraphic
\useMPgraphic{CS}
\placefigure[here][CS1]{Consumer Surplus}{\useMPgraphic{CS}}
\stoptext