<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi<br><br>I'm trying to make a large number of plots in Mpost (~1000 of the type below) <br>I'm getting an error of <br><br>! MetaPost capacity exceeded, sorry [independent variables=33554431].<br><br>Sample code below<br><br>Any ideas how to get around the issue? is there a way to unassign variables? <br><br>Many Thanks<br><br>Steve <br><br>beginfig(377);<br>draw begingraph(3.5in,2.8in);<br>gfill "BG\\Countries\\Guyana.txt" withcolor (1,0,0);<br>gdraw "BG\\Countries\\Guyana.txt";<br>gfill "BG\\Countries\\Guyana.txt" withcolor (0,0,1);<br>gdraw "BG\\Countries\\Guyana.txt";<br>glabel.lft(btex Production (Mt/y) etex rotated 90,OUT);<br>glabel.bot(btex Time etex,OUT);<br>setrange("2000","0","2150",".38087595");<br>autogrid(,otick.lft);<br>otick.bot(btex 2000 etex, 2000);<br>otick.bot(btex 2050 etex, 2050);<br>otick.bot(btex 2100 etex, 2100);<br>otick.bot(btex 2150 etex, 2150);<br>closefrom("BG\\Countries\\Guyana.txt");<br>endgraph;<br><br>pair p[], q[], r[], s[], t[];<br>q[1]:=(-1cm,-1.200000000cm);<br>r[1]:=(-0.2cm,-1.200000000cm);<br>s[1]:=(-0.2cm,-1.600000000cm);<br>t[1]:=(-1cm,-1.600000000cm);<br>fill q[1]--r[1]--s[1]--t[1]--cycle withcolor (0,0,1);<br>draw q[1]--r[1]--s[1]--t[1]--cycle;<br>label.lrt(btex Conventional etex, r[1]);<br>q[2]:=(4.5cm,-1.200000000cm);<br>r[2]:=(5.3cm,-1.200000000cm);<br>s[2]:=(5.3cm,-1.600000000cm);<br>t[2]:=(4.5cm,-1.600000000cm);<br>fill q[2]--r[2]--s[2]--t[2]--cycle withcolor (1,0,0);<br>draw q[2]--r[2]--s[2]--t[2]--cycle;<br>label.lrt(btex Conventional etex, r[2]);<br>endfig;<br>                                               <br /><hr />Find it at CarPoint.com.au <a href='http://clk.atdmt.com/NMN/go/206222968/direct/01/' target='_new'>New, Used, Demo, Dealer or Private?</a></body>
</html>