0

I don't know why but I have an error. When I write all this things in terminal everything is ok, but when I use script I have this error

gnuplot> load wykres_sin.gp 
         internal error : STRING operator applied to undefined or non-STRING variable

This is my script

# Skrypt gnuplot

plot sin(x) w l
set title "Wykres sinusa od wartosci kata"
set xlabel "Wartosc kata (stopnie)"
set ylabel "Wartość sinusa"
set xrange [0:750]
set yrange [-1.2:1.2]
set term png large size 800,600
set output "sin.png"
replot
exit

1 Answer 1

2

You need quotes around the file name:

 gnuplot> load "wykres_sin.gp"
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.