Data into arrays in Metapost
11 Aug
2005
11 Aug
'05
11:25 p.m.
Hi, Is there a way to read an entire data set into an array in Metpost, something like: numeric coeffs[]; coeffs:=[1,2,3,4,5];
12 Aug
12 Aug
8:23 a.m.
David Arnold wrote:
Hi,
Is there a way to read an entire data set into an array in Metpost, something like:
numeric coeffs[]; coeffs:=[1,2,3,4,5];
Not like this. You need to write a loop. Metaposts variables are not really arrays, merely objects with composite names of which the sub-parts are allowed to be numeric expressions. Taco
7072
Age (days ago)
7073
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Arnold
-
Taco Hoekwater