How to plot a graph from text file values? The text file look like below:
location count1 count2
HZ 100 193
ES 514 289
FP 70 137
BH 31 187
I want to plot these values as a graph in shell script. In x axis values of location column and y axis values of count1 and count2 column.
plot "/tmp/temp.txt"
fails withBad data on line 1 of file /tmp/temp.txt
. I think you may just have to create a version of the file with just numbers, no row/column headers. Alternatively, use something like gnumeric. – Sep 14 '17 at 15:40