Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Ratzsch Newsgroups: comp.graphics.apps.gnuplot Subject: Re: Plot datafiles in bulk Date: Tue, 7 Jun 2016 22:17:21 +0200 Organization: solani.org Lines: 21 Message-ID: References: <1e061eba-f693-4eee-9f63-ce7809dc5f91@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: solani.org 1465330643 16565 eJwFwYEBwEAEA8CVGi/MQ7D/CL3jC4TSg+E83rbUUH5VYwvxuZ35GW0mN8BiF1GJkXJ/OOISAQ== (7 Jun 2016 20:17:23 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 7 Jun 2016 20:17:23 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 X-User-ID: eJwFwYEBwDAEBMCVRHl+nAr2HyF3/uHghsFhvr4zQqXmZnYsKdJxDKiYttL8WTZ7m+LkdDwXahEw In-Reply-To: <1e061eba-f693-4eee-9f63-ce7809dc5f91@googlegroups.com> Cancel-Lock: sha1:cEyynn7S1e0L9LSAKxSXe8p/5XY= X-NNTP-Posting-Host: eJwVyMkNwEAIBLCWgoCZpRyWo/8Skrws2RWCosFhvr6H7Ekxdt8bH0JbTMzJnXxCMQzWv7al/gIrVRGH Xref: csiph.com comp.graphics.apps.gnuplot:3334 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.