Hallo ich smth mit gnuplot in einem Bash-Skript darstellen möchten, so habe ich:Verwenden Sie eine Gnuplot Variable statt Bash Variable in einem Bash-Skript + gnuplot Skript
#!/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
mein Problem ist, dass das Skript Ersatz ($ 3 +100) von bash Variable (nichts + 100) nicht von gnuplot (jeder Wert von 3. Spalte + 100) .. Wie kann ich das Skript ändern, um die Variable von gnuplot zu verwenden? Dank sehr viel
nein, es $ 3 von Bash-Skript ersetzt Parameter $ 1, $ 2, $ 3 anstelle der dritten Spalte von 'plot' Befehl – AdriansIdea