user506901
user506901

Reputation: 699

Plotting 3D data with Gnuplot

My 3D data is stored in a .txt file as the following

3423.432 4353.23 45345.435
324.4    4352.2  3342.3
1234.3   3988.4  342.
...

so, each column corresponds to a separate axis (x, y, z). How could I plot the data in 3D with Gnuplot such that the x, y and z axis are shown for the orientation purpose?

Upvotes: 4

Views: 13646

Answers (1)

Eduardo
Eduardo

Reputation: 4382

Refer to the Pseudo 3D Bar graph section on this article. You are going to use the splot command, specifically created for 3D plots. The article gives you simple examples that fits with what you are looking for. The data, in the format that you already have, "X Y Z", is good too, so you do not need to tweak anything in it.

Upvotes: 4

Related Questions