I run the command
/usr/local/bin/gnuplot -e set terminal png; set output bench.png; plot '/Users/masi/0deg/loop_data.txt' u 1:2
giving the error
set
^
line 0: unrecognized option - see 'help set'.
I set the setting of the terminal and output because I realized from this answer, here, that they are required. I run the same command in Bash and Zsh unsuccessfully by getting exactly the same error message.
I run
/usr/local/bin/gnuplot -e "set terminal png; set output bench.png; plot '/Users/masi/0deg/loop_data.txt' u 1:2"
and I get
line 0: internal error : STRING operator applied to non-STRING type
How can you run plotting of a figure directly in terminal for gnuplot?