ClearAvg now erases the plot in Echo Graph.

This commit is contained in:
Joe Taylor
2022-09-01 11:49:06 -04:00
parent fd09b426ea
commit 14a3ba02f2
3 changed files with 12 additions and 0 deletions
+10
View File
@@ -114,3 +114,13 @@ bool EchoGraph::baseline()
{
return ui->cbBaseline->isChecked();
}
void EchoGraph::clearAvg()
{
for(int i=0; i<4096; i++) {
echocom_.blue[i]=0;
echocom_.red[i]=0;
}
echocom_.nsum=0;
plotSpec();
}