Gnuplot spitting junk to CL, saying file not found
Hi,
I am making a shell script in bash which uses gnuplot to plot the number of road accidents on a certain day, on a certain month. I believe I have the data correct. An example of my data file is here:
(So the left column [x axis] is the month, and the second [y] is the number of accidents, and the whole data set is for "monday")
But I cant seem to get gnuplot to make me an image, I tried putting in a <gpi> script, I got a simple graph(not what i wanted though) but then it didnt seem to want to plot, and there are problems with importing file name etc
Currently the code spits loads of unusual character to the command line, and then says the file is not found....
Here is my gnuplot code, if anyone can point me in the right direction I would be very grateful
Thanks
Last edited by bartus11; 12-02-2013 at 06:47 PM..
Reason: Please use code tags
Damn, I knew it would be something simple.
Thank-you.
Just in case anyone else reads this, I also messed around with the order of the things I am setting.
Changing them to this order worked:
everything else the same order
Hi
I want to know how to see junk character in a file.
i am not able to see junk character using vi or cat command.
below is the junk char . which i see in host file
10.178.14.67▒▒▒ ac01sp02-vip
actually it should be like this
10.178.14.67 ac01sp02-vip
i am using secure CRT... (11 Replies)
I am using flatfile, in that flat file we are getting the junk chars
1)I21001f<82>^Me<85>!h49 Service Charge
2) I21001f‚
e...!h49 Service Charge
please tell me how to remove all junk chars in unix scripts. (1 Reply)
Hello,
I have two .sql files which I transferred from Windows to Unix (Linux Enterprise Linux Server release 5.3).I want to ensure that these two files have no junk characters in them.How do I do it in the simplest possible way?
Many thanks
DJ (1 Reply)
hi guys,
I am generating a file from datastage (an etl tool).
Now the file is having some junk characters like ( Á,L´±,ñ and so on)..
I want to use the grep function to figure out all the junk characters and their location.
Can somebody help me out in finding it out.. if possible i... (1 Reply)
Hi
I can't figure out why i get the "unexpected end of file".
#! /bin/bash
for file1 in /figures/*; do
gnuplot << EOF
set terminal postscript eps color enhanced
set output "$file1.eps"
set bar 1.000000
... (2 Replies)
Hi Team,
I have a file having size greater than 1 GB. What i want to do is to check if it contains any JUNK character (ie any special charater thats not on the key board stroke). This file has 532 column & seperated with ^~^.
I have found some solution from the file, but it is for a... (4 Replies)
Can anyone tell me how to read a file in perl having junk characters . I have only one junk character which is repeated many times in the file. While i'm reading and printing the file , it is displaying till the 1st occurence of that junk character and rest of the file is not being read. (1 Reply)
Hi
set filename "./GopiRun.sh"
if } err] {
writeLog "error in exec "
writeLog $a
} else {
writeLog $a
}
The above code will execute a file GopiRun.sh,and will log the output of the exec to a file.
The problem is the file has lot of junk character in it,how to avoid it.
The... (2 Replies)
I have a file with one of the following lines, when opened with vi
33560010686GPT£120600GBPGBP10082007DS
In the above line, I want to get rid of the junk character before the £ (pound sysmbol).
When I tried copying £ from windows and copy in unix vi, it prints as £ and I tried pattern replace... (2 Replies)