[metapost] Metapost capacity exceeded
Steve Mohr
stevieboy-frontline at hotmail.com
Tue Jun 1 11:08:54 CEST 2010
Hi
I'm trying to make a large number of plots in Mpost (~1000 of the type below)
I'm getting an error of
! MetaPost capacity exceeded, sorry [independent variables=33554431].
Sample code below
Any ideas how to get around the issue? is there a way to unassign variables?
Many Thanks
Steve
beginfig(377);
draw begingraph(3.5in,2.8in);
gfill "BG\\Countries\\Guyana.txt" withcolor (1,0,0);
gdraw "BG\\Countries\\Guyana.txt";
gfill "BG\\Countries\\Guyana.txt" withcolor (0,0,1);
gdraw "BG\\Countries\\Guyana.txt";
glabel.lft(btex Production (Mt/y) etex rotated 90,OUT);
glabel.bot(btex Time etex,OUT);
setrange("2000","0","2150",".38087595");
autogrid(,otick.lft);
otick.bot(btex 2000 etex, 2000);
otick.bot(btex 2050 etex, 2050);
otick.bot(btex 2100 etex, 2100);
otick.bot(btex 2150 etex, 2150);
closefrom("BG\\Countries\\Guyana.txt");
endgraph;
pair p[], q[], r[], s[], t[];
q[1]:=(-1cm,-1.200000000cm);
r[1]:=(-0.2cm,-1.200000000cm);
s[1]:=(-0.2cm,-1.600000000cm);
t[1]:=(-1cm,-1.600000000cm);
fill q[1]--r[1]--s[1]--t[1]--cycle withcolor (0,0,1);
draw q[1]--r[1]--s[1]--t[1]--cycle;
label.lrt(btex Conventional etex, r[1]);
q[2]:=(4.5cm,-1.200000000cm);
r[2]:=(5.3cm,-1.200000000cm);
s[2]:=(5.3cm,-1.600000000cm);
t[2]:=(4.5cm,-1.600000000cm);
fill q[2]--r[2]--s[2]--t[2]--cycle withcolor (1,0,0);
draw q[2]--r[2]--s[2]--t[2]--cycle;
label.lrt(btex Conventional etex, r[2]);
endfig;
_________________________________________________________________
New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au
http://clk.atdmt.com/NMN/go/206222968/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20100601/ca227f71/attachment.html>
More information about the metapost
mailing list