Skip to content

Instantly share code, notes, and snippets.

@kventil
Created January 19, 2012 14:03
Show Gist options
  • Save kventil/1640169 to your computer and use it in GitHub Desktop.
Save kventil/1640169 to your computer and use it in GitHub Desktop.
script to plot a graph for all found csv-files
#!/bin/sh
# plottet alle im Verzeichnis gefunden csv-Dateien
for i in *.csv
do echo "set term png;
set output '${i%.*}.png';
set datafile separator ',';
plot '$i' using 5" | gnuplot -persist
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment