I want to do something like:
echo "p 'myfile.txt' u 1:(exp($2))" | gnuplot -p
but need the shell to pass the $2
as a literal into gnuplot.
Change your quoting around so that instead of double quotes (
ExampleMake some fake data:
Results in this:
Running the command, produces this graph:
References |
||||
|