Plotting 3D data with Gnuplot

12,831

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.

Share:
12,831
user506901
Author by

user506901

Updated on June 04, 2022

Comments

  • user506901
    user506901 almost 2 years

    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?