|
From: Ethan A M. <merritt@u.washington.edu> - 2008-07-19 16:33:06
|
On Saturday 19 July 2008, Manuel Schölling wrote:
> Ethan Merritt wrote:
> > We already have that:
> >
> > plot for [i=1:3] "file".i <all your options>
>
> This is strange. Both commands do not work here:
It is a feature in the development version (4.3).
> But nevertheless, if you use these commands you've written you don't
> have the possibility to add further plotting options like a different
> title for each data file.
Sure you do. The iteration variable can be used multiple times.
Here's a trivial example:
plot for [i=i,N] "file".i with lines title "file".i
Or, if you want custom titles:
name = "Apples Oranges Bananas"
plot for [i=1,3] "file".i with lines title word(name,i)
--
Ethan A Merritt
|