0

I installed gnuplot on OSX Lion. However, I am having difficulty plotting data from a file using the plot command, I get this error prompt,

plot /Users/kukiyuki/Desktop/gnuplottest/test.txt u 1:2 w l
     ^
invalid expression

What am I doing wrong?

1 Answer 1

2

Try using quotes, eg:

gnuplot> plot "./data.txt" #it appears a graph

whereas without quotes your error appears:

gnuplot> plot ./data.txt
              ^
         invalid expression
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.