Plot 2D tables as a fence in gnuplot -


A simple question about Gnuplot I have data in a table, which moves in every direction.

  0 1 2 3 4 1 1 2,0408830835 2,8180454121 3,9760428593 2 2,0622871101 3,9709816613 57676953944 7,5379858295 3 3,1861064949 5,7565758609 7,8939354949 9 , 7787163957 4 4,0944785549 6,4357145355 9,5787145459 11,6365303155 5 4,7675231829 6,3181833785 8,8833920556 11,4107253565 ....   

I call it a surface or fence In the form I want to plot in Gnuplot, so that represents the first column in the x, the first line represents wi, and the table shows the z of the position in {x, y}, the height of the graph

Is there any way to do this? Thanks!

If the data is not messy then the following may be the trick for you:

Take a Data File "Data.csv":

  0.65 0.9 9 0.28 0.43 0.50 0.98 0.23 0.15 0.94 0.19 0.57 0.65 0.38 0.31 0.20 0.15 0.08 0.88 0.16 0.64 0.37 0.84 0.87 0.59 0.41   

and plot it like this:

  splot "data.csv" matrix w rows   

Gnuplot will index your index 0 to n / m . If you want to specify the point (x, y) for each data point, you must specify a grid that tells gnuplot, where each point is actually located.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -