1

I simply want to run a script with gnuplot. I am using gnuplot in windows. So on gnuplot command line I type this

gnuplot histo.gp

However I get invalid command error like this

gnuplot> gnuplot histo.gp
         ^
         invalid command

How can I run a script in gnuplot for windows?

1 Answer 1

3

Try

gnuplot> load histo.gp

from the gnuplot command line. If you want to run the script directly from the Windows command line, you should be able to run

# gnuplot.exe histo.gp

(Or similar, I don't use Windows.)

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.