Hello I want to plot smth using gnuplot in a bash script so I have:
#!/bin/bash
//myscript
gnuplot -persist <<-EOFMarker
plot 'd.csv' using 3:xtic(1) with boxes notitle, 'd.csv' using 0:($3+100):3 with labels
EOFMarker
my problem is that the script substitute ($3+100) from bash variable (nothing+100) not from gnuplot (each value from 3rd column + 100).. how can I change the script in order to use the variable from gnuplot? thanks very much