Skip to content
Snippets Groups Projects
Commit 88cb890d authored by hs7n22's avatar hs7n22
Browse files

Upload New File

parent d5f9e01c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
csv_input_path=$1
image_output_path=$2
tmp_csv_output=tmp_plot.csv
# Create temporary file containing only location data for plotting
cat $csv_input_path | cut -d, -f2,3 | sed '1d' | sed -e 's/\sN//g' -e 's/\sW//g' -e 's/,/ /g' > $tmp_csv_output
# Run gnuplot script
gnuplot -e "line_csv_path='$tmp_csv_output'; image_output_path='$image_output_path'" plot-locations-on-map.gpi
# Remove temporary file
rm $tmp_csv_output
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment