|
From: howudodat <pe...@ho...> - 2013-04-15 20:53:18
|
I wanted to bring everyone up to the most current code I am working with and what's left for me to figure out. I have only one remaining issue: My data file does not have a first line as x axis tics. Our raw data file will /normally / look like: 1.3e8, -95, -110, -105.... 1.4ee8, -97- -103, -102... ... with there being 601 columns of Z data (time) by 8192 rows of frequencies. In order for the below script to work, I had to */insert /* a row of ,1,2,3,4 I'd like to not insert that row into our raw data if possible. I am now plotting with: gnuplot -e"filename=SOURCE" plot.plg and it reads SOURCE.csv and outputs to SOURCE.png and SOUCE-sub.png #common parameters for both plots set term png size 1900,1080 set datafile separator "," set pm3d set xrange[*:*] reverse set key autotitle columnhead set hidden3d set view 45,75,,0.85 set palette defined (-120 "yellow", -70 "red", -30 "blue") set xtics 0,50,600 set grid x y z # plot all the data set output filename.'.png' splot filename.'.csv' nonuniform matrix using 1:2:3 with pm3d lc palette # plot only what we are looking for +- a bit set output filename.'-sub.png' sedcmd="<(sed -n '1p;1000,3000p' " .filename. ".csv)" splot sedcmd nonuniform matrix using 1:2:3 with pm3d lc palette exit -- View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268p17286.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |