SurfacePlot for FFT data

A discussion forum for Orson Charts (a 3D chart library for the Java platform).
Locked
howudodat
Posts: 2
Joined: Mon Aug 30, 2021 8:14 pm
antibot: No, of course not.

SurfacePlot for FFT data

Post by howudodat » Mon Aug 30, 2021 8:18 pm

I am trying to figure out how to setup the following surface chart. Data is fft data
Vector<String>vFrequencies; // y axis lables (frequency)
double[] dSingleRow; // each value is a frequency level
Vector<double[]> vAllRows; // each row is another time sample
Date is read in from a stream that is fft'ing a file, in csv it might look like:
Time, 100Hz, 200Hz, 300Hz....
1, -90, -89.4, -89...
2, -89.9, -88, -89.1...
...

A sample chart is in this github post:
https://github.com/jfree/orson-charts/issues/8

Locked