Aman Deep Gautam
Aman Deep Gautam

Reputation: 8747

saving output of splot(GNUPlot)

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.

Upvotes: 0

Views: 1955

Answers (1)

PaulProgrammer
PaulProgrammer

Reputation: 17680

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.

Upvotes: 1

Related Questions