Data into arrays in Metapost
12 Aug
2005
12 Aug
'05
1:25 a.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
10: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
6968
Age (days ago)
6969
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Arnold
-
Taco Hoekwater