void init_plots() { sdrgui_init(); plot_real_init(&pssout); plot_real_setTitle(&pssout, "PSS xCorr"); plot_real_setLabels(&pssout, "Index", "Absolute value"); plot_real_setYAxisScale(&pssout, 0, 1); /* plot_complex_init(&pce); plot_complex_setTitle(&pce, "Channel Estimates"); plot_complex_setYAxisScale(&pce, Ip, -2, 2); plot_complex_setYAxisScale(&pce, Q, -2, 2); plot_complex_setYAxisScale(&pce, Magnitude, 0, 2); plot_complex_setYAxisScale(&pce, Phase, -M_PI, M_PI); */ plot_real_init(&psss1); plot_real_setTitle(&psss1, "SSS xCorr m0"); plot_real_setLabels(&psss1, "Index", "Absolute value"); plot_real_setYAxisScale(&psss1, 0, 1); /* plot_real_init(&psss2); plot_real_setTitle(&psss2, "SSS xCorr m1"); plot_real_setLabels(&psss2, "Index", "Absolute value"); plot_real_setYAxisScale(&psss2, 0, 1); */ }
void init_plots() { plot_init(); plot_real_init(&poutfft); plot_real_setTitle(&poutfft, "Output FFT - Magnitude"); plot_real_setLabels(&poutfft, "Index", "dB"); plot_real_setYAxisScale(&poutfft, -60, 0); }
void init_plots() { plot_init(); plot_real_init(&poutfft); plot_real_setTitle(&poutfft, "Output FFT - Magnitude"); plot_real_setLabels(&poutfft, "Index", "dB"); plot_real_setYAxisScale(&poutfft, -30, 20); plot_complex_init(&pce); plot_complex_setTitle(&pce, "Channel Estimates"); plot_complex_setYAxisScale(&pce, Ip, -3, 3); plot_complex_setYAxisScale(&pce, Q, -3, 3); plot_complex_setYAxisScale(&pce, Magnitude, 0, 4); plot_complex_setYAxisScale(&pce, Phase, -M_PI, M_PI); plot_scatter_init(&pscatrecv); plot_scatter_setTitle(&pscatrecv, "Received Symbols"); plot_scatter_setXAxisScale(&pscatrecv, -4, 4); plot_scatter_setYAxisScale(&pscatrecv, -4, 4); plot_scatter_init(&pscatequal); plot_scatter_setTitle(&pscatequal, "Equalized Symbols"); plot_scatter_setXAxisScale(&pscatequal, -2, 2); plot_scatter_setYAxisScale(&pscatequal, -2, 2); }