11.24 foreach datum

foreach { <variable> } in [ { <range> } ]
    ( <filename> | { <expression> } | { <vector obj> } )
    [ every { <expression> } ]
    [ index <value> ] [ select <expression> ]
    [ using { <expression> } ]
  <code>

The foreach datum command executes a series of commands for each data pointread from a data fileor function. It takes a similar set of modifiers to the plot command; the list of variables to be read from the supplied data on each iteration should be comma separated.