2
I'm trying to operate on a column prior to its plotting. This is the line I'm having issues with:
plot campo1 u 1:($22*0.05)
where campo1
is the path to the file. The problem is that gnuplot
recognizes $22
not as column 22
but as column 2
multiplied by 2*0.05
.
How can I tell gnuplot
to use column 22
in the operation?
forgot the exact syntax, but did you try ${22} or $(22) instead? – gt6989b – 2012-08-22T19:15:23.453
Yes, I've tried them both. I've also tried
($22)
,{$22}
,$'22'
,$"22"
,'$22'
and"$22"
– Gabriel – 2012-08-22T19:19:38.807