|
From: Lutz M. <ma...@uc...> - 2005-06-15 16:39:20
|
On Wednesday 15 June 2005 05:51, Petr Mikulik wrote: > f(n)='a'.n.'.dat' > plot f(1), f(2) > > => it should be equivalent to plot 'a1.dat', 'a2.dat'. However, gnuplot I was wondering if it would be feasible to include shell-like wildcard expansion into gnuplot. For example, if there a two files a.1.dat and a.2.dat in the current working directory, plot "a.*.dat" should be interpreted as plot "a.1.dat", "a.2.dat" Is it possible to do this in a platform-independent way? I currently use the little script "pl" (http://www.phys.uni-paderborn.de/~stern/pl/) to use the globbing features of the shell, but there are quite a few things that would be much easier to do in an interactive gnuplot session. Lutz |