|
From: Manuel S. <man...@gm...> - 2008-07-19 11:42:53
|
Lutz Mainbaum wrote:
> I have no answer to your question, but your email reminded me of a feature
> that I think would be very nice to have, the support of wildcards in
> filenames. For example, the gnuplot command
>
> plot "file[1-3]" <all your options>
>
> would expand to what you suggest. This approach would also work in scripts,
> whereas your implementation seems to work only in interactive gnuplot
> sessions.
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:
I have the data files /tmp/file[1-3] and this is the output of gnuplot:
G N U P L O T
Version 4.2 patchlevel 3
last modified Mar 2008
System: Linux 2.6.25-tuxonice-r1
Copyright (C) 1986 - 1993, 1998, 2004, 2007, 2008
Thomas Williams, Colin Kelley and many others
Type `help` to access the on-line reference manual.
The gnuplot FAQ is available from http://www.gnuplot.info/faq/
Send bug reports and suggestions to
<http://sourceforge.net/projects/gnuplot>
Terminal type set to 'x11'
gnuplot> plot for [i=1:3] "/tmp/file".i w l
^
':' expected
gnuplot> plot "/tmp/file[1-3]" w l
warning: Skipping unreadable file "/tmp/file[1-3]"
No data in plot
I'm using Gentoo Linux with these USE flags
[I] sci-visualization/gnuplot
Available versions: 4.2.2-r1 4.2.3-r2 {X doc emacs gd ggi latex
pdf plotutils readline svga wxwindows xemacs}
Installed versions: 4.2.3-r2(22:12:41 15.06.2008)(X emacs gd ggi
latex pdf plotutils readline -doc -svga -wxwindows -xemacs)
Homepage: http://www.gnuplot.info/
Description: Command-line driven interactive plotting program
If you have a clue what's wrong here, please send me a mail.
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.
Cheers,
Manuel
|