Direct plot for audio data. |
| #include "DPAudio.hxx" |
Direct Audio plot function |
void PlotAudio( const Audio& audio,
const std::string& label="",
int x=100,
int y=100,
int w=500,
int h=225 )
|
Assigns the data for viewing, as well as a title and dimensions for the plot. |
audio : audio data. label : title label for the plot, default="" (an empty string). x : x-coordinate of the upper left corner, default=100. y : y-coordinate of the upper left corner, default=100. w : width, default=500. h : height, default=225. |
|
|
See the example. |