It is perfect actually. Thank you very much for helping.
---------- Post updated at 08:21 AM ---------- Previous update was at 05:36 AM ----------
Hello again,
I have one thing more also I am struggling a lot to plot it. My actual data is as follows;
1724836 7450227 -64
1724830 7450229 -86
1724825 7450231 -87
1724821 7450233 -88
1724817 7450235 -88
1724812 7450237 -84
1724780 7450163 -79
1724787 7450165 -64
1724794 7450168 -73
1724802 7450171 -76
...
going like this....
I am treating the data as an X,Y coordinate and first value is X and the second Y. I have a static point like (1724850,7450200). What I want is to draw a line between each X,Y and my static point. Also while drawing the line I want to make some specification; if the third field value is bigger than -70, I want to draw it green. If it is between -70 and -85, yellow and if it is smaller than -85, red.
I tried to use arrow command of gnuplot but I could not succedd. I am trying hard to plot this data in this way.
Any help is much appreciated again, thank you.
---------- Post updated at 09:30 AM ---------- Previous update was at 08:21 AM ----------
Here is my code but it gives nothing, only a blank page;
#!/usr/local/bin/gnuplot -persist
set terminal png large size 1920,1200
set output '003A98B70A10_coverage.png'
set grid
set origin 1724850,7450200
set xrange [1724000:1724400]
set isosample 150
set palette defined (-100 "red", -95 "yellow", -85 "green")
plot "003A98B70A10.log" with impulses
# EOF
It should give multiple lines drawn from the origin point to the multiple other points.
---------- Post updated at 05:08 PM ---------- Previous update was at 09:30 AM ----------
I also tried to use 'set arrow' command but properties for that command does not seem to take data from file....