0

I have two files same_2 and diff_2 and I plot the data in these files with this command using GNUPlot.

splot "./same_2" with points, "./diff_2" with points

I have the 3D plot. How can I save it, so that I can view it later. I do not want to store it as an image, and that's what I keep getting on search.

Any help appreciated.

1 Answer 1

1

There's an option in gnu plot's command set: set term which can be used to set the output to a variety of formats, including PS, PNG, and others.

Details are at the gnuplot tutorial.

There's a help system, if you type help set at the gnuplot command line, you will get more details.

To add a 3d output terminal for something like VRML or PovRay, you'll need to apply a custom patch.

Sign up to request clarification or add additional context in comments.

4 Comments

The problem is I cannot rotate whatever is produced, like I can do in the gnuplot window.
I added a link to output to 3d file types.
I got the following error while applying the patch. can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? I am using gnuplot v4.4
The patch is for version 4.0 of gnuplot. You may have to downgrade, or do some of your own development to make it work fully.

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.