|
From: Ethan A M. <EAM...@gm...> - 2013-04-12 02:28:15
|
On Thursday, 11 April 2013, howudodat wrote: > I am trying to make a waterfall / cascade plot of csv data. The data is > 8192 rows of data x 600 columns of time. The first column is a frequency > label, the first row is shown below but doesn't actually exist in the data > file, neither do the spaces, they are shown just for ease of reading. > > Frequency, Sec1, Sec2, Sec3...Sec600 > 1e8, -95, -90, -92 > 1.1e8, -100, -101, -103 > ... > > The data represents 600 seconds of fft data. I would like the plot to look > something like the attached image. The x axis should be the columns of data > (time), the y axis should be each row (frequency). The z axis is intensity > and I'm hoping can be displayed both in height as well as color. General solution (no matrix treatment): set datafile separator "," set autotitle columnheader # read a row of titles unset key # but don't use it for anything set grid x y z set hidden3d splot for [sec=1:600] 1:(sec):(column(sec+1)) with impulse lc palette You may want to adjust the linewidth of the impulses, the palette coloring scheme, etc. There's probably a way to read it as a matrix also, but I'm less sure of the syntax off the top of my head. Ethan > I can control the input data if needed to remove the first column, but then > I would need to be able to specify the start/ stop range of the labels > > <http://gnuplot.10905.n7.nabble.com/file/n17268/test.png> > > > > -- > View this message in context: http://gnuplot.10905.n7.nabble.com/Waterfall-Cascade-Plot-tp17268.html > Sent from the Gnuplot - User mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- Tradition is not the worship of ashes, but the preservation of fire. - Gustav Mahler |