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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to