1

Ive this script in gnuplot and I want to print multiple plots from 1 dataset. Ive tried this command but it seems that command needs another sama dataset to execute this command correctly. Do you know how to solve it?

plot '-' using 1:2, '=' using 1:3
1 1 5
2 2 5
3 3 5
e

1 Answer 1

1

With '-' you would have to enter the same data again. Check help special-filenames.

You better do:

$Data <<EOD
1 1 5
2 2 5
3 3 5
EOD

plot $Data u 1:2, '' u 1:3
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.