[metapost] Reaching the limit of beginfig

Peng Yu pengyu.ut at gmail.com
Wed Nov 15 01:54:00 CET 2006


Hi

I need to generate thousands of figures from the same metapost program.
But the command "beginfig(6000)" or "fignumber := 6000; beginfig(fignumber);"
gives me some errors. Is there any walkaround?


This is MetaPost, Version 0.641 (Web2C 7.4.5) (mem=mpost 2006.1.12)
14 NOV 2006 18:41
**grid.mp
(grid.mp
! Number is too large (6000).
l.14 beginfig(6000
                  );
It is at least 4096. Continue and I'll try to cope
with that big value; but it might be dangerous.
(Set warningcheck:=0 to suppress this message.)

[6000] )
1 output file written: grid.6000


This is MetaPost, Version 0.641 (Web2C 7.4.5) (mem=mpost 2006.1.12)
14 NOV 2006 18:51
**grid.mp
(grid.mp
! Number is too large (6000).
l.12 fignumber := 6000
                      ;
It is at least 4096. Continue and I'll try to cope
with that big value; but it might be dangerous.
(Set warningcheck:=0 to suppress this message.)

! Value is too large (6000).
l.12 fignumber := 6000;

The equation I just processed has given some variable
a value of 4096 or more. Continue and I'll try to cope
with that big value; but it might be dangerous.
(Set warningcheck:=0 to suppress this message.)

[6000] )
1 output file written: grid.6000


Thanks,
Peng


More information about the metapost mailing list