From: Philipp F. <phi...@hh...> - 2006-12-08 13:44:55
|
Hello Is it possible to pass arguments to a Gnuplot script (in Linux on the command line), e.g. a file name for a data file. I would like to do the following kind of script: #! /usr/bin/gnuplot set title ARGV[1] plot ARGV[1].data using ($16 * 8):20 with linespoints notitle pause -1 This script should generate a plot with the title given as first command line argument, an with the graph constructed from the first command line argument added with the suffix .data. Best regards Philipp ________________________________________________________________________ Dipl.-Ing. Philipp Fechteler Department Image Processing Fraunhofer Institute for Telecommunications Heinrich-Hertz-Institut (HHI) Einsteinufer 37 10587 Berlin, Germany Phone +49 30 31002 616 Fax +49 30 31002 200 Email phi...@hh... WWW http://iphome.hhi.de/fechteler ________________________________________________________________________ |