We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b9527 commit 2a798beCopy full SHA for 2a798be
src/graph_spectrum_plot.js
@@ -501,7 +501,7 @@ GraphSpectrumPlot._drawHeatMap = function (drawPSD = false) {
501
if (drawPSD) {
502
const min = -40, max = 10; //limit values dBm
503
valuePlot = Math.max(this._fftData.fftOutput[j][i], min);
504
- valuePlot = Math.min(this._fftData.fftOutput[j][i], max);
+ valuePlot = Math.min(valuePlot, max);
505
valuePlot = Math.round((valuePlot - min) * 100 / (max - min));
506
} else {
507
valuePlot = Math.round(
0 commit comments