This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

How to plot two channels or more on the same graph?

I am trying to plot 2 channels or more on the same graph with the x-axis as the time, y-axis for two channels:
1) raw data
2) filtered data

I wish to plot (1) and (2) on the same graph to illustrate effect of filtering.

My first attempt is to do :

firstGraph.setChannel(0,2); //there is no addChannel(0,2)...
PhyphoxBLE::write(raw, filtered_data);

But the code above will plot only one curve.

Any idea?


Messages In This Thread
How to plot two channels or more on the same graph? - by John - 01-30-2023, 05:57 AM

Forum Jump: