I want to plot the inverse of the numbers in a number of columns against the first column:
plot for [i=1:30] 'file' using 1:(1/i) w lp
which results in all the y values to be zero. It works when I remove the for loop and just pick a column to plot: p 'file' u 1:(1/$4). What am I doing incorrectly?