Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1038

Re: How to use same plot script for Gnuplot of multiple files.

From Christoph Bersch <usenet@bersch.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to use same plot script for Gnuplot of multiple files.
Date 2012-04-13 16:47 +0200
Organization GWDG, Goettingen
Message-ID <jm9e9v$cbk$1@gwdu112.gwdg.de> (permalink)
References <a59d08e5-8be4-4d1b-aa6e-38196abb2216@kn16g2000pbb.googlegroups.com>

Show all headers | View raw


On 13.04.2012 16:27, Sudip Roy wrote:
> I have 6000 files in same format. I have a plot script that can plot
> the graph taking data from one single file abc.dat and saves the plot
> in abc.eps file.
>
> Now I want to use the same plot script to plot for all the 6000 data
> files into 6000 eps files. Is there any way/technique to pass the two
> file names<input.dat>  and<output.eps>  into the same plot script as
> command line arguments? Or in any other this can be done?

gnuplot -e"infile='input.dat';outfile='output.eps';" script.gp

Christoph

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to use same plot script for Gnuplot of multiple files. Sudip Roy <sudiproy.bkp@gmail.com> - 2012-04-13 07:27 -0700
  Re: How to use same plot script for Gnuplot of multiple files. Christoph Bersch <usenet@bersch.net> - 2012-04-13 16:47 +0200
  Re: How to use same plot script for Gnuplot of multiple files. Michael <proximum@land.ru> - 2012-04-14 07:44 +0700
    Re: How to use same plot script for Gnuplot of multiple files. sam <samjavan@gmail.com> - 2012-10-10 17:03 -0700
      Re: How to use same plot script for Gnuplot of multiple files. "Alex van der Spek" <zdoor@xs4all.nl> - 2012-10-11 13:23 -0400

csiph-web