Using gnuplot to plot 3D graphs…

Tuesday, October 6th, 2009

…with a little help from awk… For instance the following awk took the list of the 1st 1000 prime numbers and added a column for the difference between each of the prime numbers: “awk ‘{ p = $1; getline; p = $1 – p; print NR” “p” “$1 }’ plist.txt > p8.txt” Here’s the gnuplot […]