I tried working on passing command line to GNUPlot by git shell and this was the following code.
#!/bin/bash
cd 'C:/Program Files/gnuplot/bin'
./wgnuplot << EOF
plot sin(x)
EOF
When I run the code, GNUplot is launched well. However, plot of sin(x) never poped up. What should I do?
I tried not using the EOF commands (so, ./wgunplot<<< plot sin(x)) but this made the situation even worser(even gnuplot didn’t worked out).
New contributor
O ri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.