Using a loop within gnuplot is the most efficient, but if it's proving to be too hard for you to maintain you could try using a bash/ksh loop and call gnuplot once for each file like this:
This User Gave Thanks to Chubler_XL For This Post:
Hi,
I am generating a file through some Datastage commands:
cat $TempDir/stage.txt |while read line
do
stagename=`echo $line`
dsjob -llinks $proj $jobname $stagename 2>/dev/null >> $TempDir/LinkName.txt
Now i have to assign the number... (5 Replies)
I/P file name:- 20092008.txt
Check number of entries in i/p file by following command
ChkEnt -infl 20092008.txt -opfl 20092008_test.txt >count.txt
Dear Friends,
Please help me in automating following thing.
If output generated (count.txt) is having value more than 1000 i.e.... (8 Replies)
Im new to C, and Im having a hard time getting a random number.
In bash, I would do something similar to the following to get a random number;
#!/bin/bash
seed1=$RANDOM
seed2=$RANDOM
seed3=$RANDOM
SEED=`expr $seed1 * $seed2 / $seed3`
echo ${SEED%.*}
Now, in online examples... (4 Replies)
Hello All, I am stuck up in a program where the rand functions ends up giving all the same integers. Tried sleep, but the numbers turned out to be same... Can anyone help me out how to fix this issue ? I have called the srand once in the program, but I feel like when I call fork the child process... (5 Replies)
Can anybody tell me why the second part of this script (Sieve of Eratosthenes) isn't working properly. This isnt coursework or homework just private studies ( Yes Project Euler began it ) I know there are easier ways of doing this too but I want to do it this way.:p
Iam using Cygwin on Vista... (3 Replies)
Hi there I am trying to generate a random number between 40 and 70 using the shell here is my code so far and it keeps going above 70. all help much appreciated!
comp=$(( RANDOM%70+40 ))
echo $comp (4 Replies)
Having a hard time with this. Very new to scripting and linux. Spent all sunday trying to do this. Appreciate some help and maybe help breaking down what the syntax does.
Create a Bash program. It should have the following properties
• Creates a secret number between 1 and 100
i. The... (3 Replies)
Hi Guys and gals...
As you know I am getting to grips with POSIX and hit this stumbling block.
Generating two random numbers 0 to 255 POSIXly. Speed in not important hence the 'sleep 1' command.
I have done a demo that works, but it sure is ugly! Is there a better way?
#!/bin/sh
# Random... (12 Replies)
Discussion started by: wisecracker
12 Replies
LEARN ABOUT DEBIAN
gpiv_piv2gnuplt
GPIV_PIV2GNUPLT(1) General Commands Manual GPIV_PIV2GNUPLT(1)NAME
gpiv_piv2gnuplt - Converts PIV data gnuplot data.
SYNOPSIS
gpiv_piv2gnuplt [-al int] [-au int] [-h | --help] [-p | --print] [-s float] [-v | --version] [-z] filename
DESCRIPTION
gpiv_piv2gnuplt converts PIV data to gnuplot vectors for displaying and printing PIV the estimators in a graphical way.
This program does not use the parameter resources from libgpiv. The parameters may be defined by the command line options as explained
below.
Options-al L Draws an annotation vector with length L.
-al UNIT
Define unit of annotation vector (defaul m/s).
-h | --help
On-line help.
-p | --print
Prints parameters to stdout.
-s SCALE
Scale factor for graphic output with gnuplot.
-v | --version
Print version information on standard output, then exits successfully.
-z Full zoom (for scaled data).
filename
Filename containing the input PIV data.
SEE ALSO
gpivtools
AUTHOR
Gerber Van der Graaf
9 November 2006 GPIV_PIV2GNUPLT(1)