Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3334
| From | Karl Ratzsch <mail.kfr@gmx.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Plot datafiles in bulk |
| Date | 2016-06-07 22:17 +0200 |
| Organization | solani.org |
| Message-ID | <nj7a4j$g5l$1@solani.org> (permalink) |
| References | <1e061eba-f693-4eee-9f63-ce7809dc5f91@googlegroups.com> |
Am 07.06.2016 um 21:22 schrieb explorat123@gmail.com:
> Hi,
>
> I'd like to plot multiple .csv files in bulk, regardless of their names:
> 20151221-Log.csv
> 20160315-Log.csv
> 20160601-Log.csv
> ...
>
> Is there an easy way to do this without having to specify the name for each individual file and without having to join the files ?
"plot" obviously does not support wild cards, but something like
fnlist = system("ls *.csv")
n = words(fnlist)
fname = word(fnlist,i)
plot for [i=1:n] fname(i) using ....
could work.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
Plot datafiles in bulk explorat123@gmail.com - 2016-06-07 12:22 -0700
Re: Plot datafiles in bulk Karl Ratzsch <mail.kfr@gmx.net> - 2016-06-07 22:17 +0200
Re: Plot datafiles in bulk Ethan A Merritt <EAMerritt@gmail.com> - 2016-06-07 21:49 -0700
Re: Plot datafiles in bulk Karl Ratzsch <mail.kfr@gmx.net> - 2016-06-08 10:34 +0200
Re: Plot datafiles in bulk explorat123@gmail.com - 2016-06-09 13:13 -0700
Re: Plot datafiles in bulk Karl Ratzsch <mail.kfr@gmx.net> - 2016-06-10 01:54 +0200
Re: Plot datafiles in bulk explorat123@gmail.com - 2016-06-13 00:16 -0700
Re: Plot datafiles in bulk Karl Ratzsch <mail.kfr@gmx.net> - 2016-06-13 09:26 +0200
Re: Plot datafiles in bulk explorat123@gmail.com - 2016-06-17 03:39 -0700
csiph-web