Does the PGF command \foreach provide a simple possibility to get the number of elements iterated? It has a parameter count to hold the current element number, so a workaround is to iterate the list ...
I don't know the internal details of both \multido and \foreach. Both are used to make a deterministic loop for general purposes (neither specific to PSTricks nor TikZ). It is the only one I know. ...
I want to create a grid of plots with groupplots, where every plot is taken from an external file and included via pgfplots. Due to the fact, that foreach doesn't work nicely in a axis environment, ...