|
From: Peter C. <pe...@ho...> - 2016-01-08 16:02:17
|
We plot a waterfall using the below pruned script.
Normally our data looks like:
t1,t2,t3,t4,t5,t6...
f1, v1, v2, v3, v4,v5, v6
f2, v1, v2, v3, v4, v5, v6
...
With the rows being frequency and the columns being timestamps and V
being the value plotted
This all works fine, except we have one dataset that has rows and
columns reversed so that it looks like:
f1, f2, f3, f4...
t1, v1, v2, v3, v4
t2, v1, v2, v3, v4
...
I cant figure out what I need to change in the script to get it to plot
correctly.
set term png font arial 8 size 1400,1000
set datafile separator ","
set pm3d
set xrange[*:*] reverse
set zrange[-140:-20]
set hidden3d
set view 45,75,,0.85
set cbrange [-140:-20]
set grid x y z
set output 'test.png'
splot 'test.csv' nonuniform matrix using 1:2:3 notitle with pm3d lc palette
|