Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Plot EEG samples

Plot EEG samples

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MajidKamali
    wrote on last edited by
    #1

    Hi.
    I want to plot lots of eeg samples from eeg device. something like below image.
    EEG
    As you can see, there is no specific boundary for each plot, so I can not divide space between plots. Plots can overlap with each other.
    Right now I'm trying to implement this with overlapping widgets with transparent background, hidden axes, just showing lines and nothing else (QCustomPlot or QChartView). Both approaches are slow, when sample rate is more than e.g. 100 samples per second. QChartView is even worse when number of point increase.

    I need advise on how to implement such thing :-(
    Is downsampling of data works? please help.
    Is there a ready-made widget for this work? I could not find a suitable one :-(

    Requirements:

    • User can scale both X and Y axes with a scale combobox
    • Widget can show live and continous incoming data as well as showing whole data at once
    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      How come QCustomplots customPlot->addGraph
      cannot be used to have multiple graphs ?
      That is simply too slow ?

      https://www.qcustomplot.com/index.php/demos/multiaxisdemo

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MajidKamali
        wrote on last edited by
        #3

        @mrjj said in Plot EEG samples:

        Hi
        How come QCustomplots customPlot->addGraph
        cannot be used to have multiple graphs ?
        That is simply too slow ?

        https://www.qcustomplot.com/index.php/demos/multiaxisdemo

        I Know this method, but there is a problem with this approach. Values of graphs are independent of eachother. I mean these graphs are not stacked above eachother with a fixed distance value of y. They are independent graphs. With this approach in your link, scaling on Y axis increases or decreases distance between each graph, but each of them has its own independent axis and zero line (gray dashed line in my image above)

        mrjjM 1 Reply Last reply
        0
        • M MajidKamali

          @mrjj said in Plot EEG samples:

          Hi
          How come QCustomplots customPlot->addGraph
          cannot be used to have multiple graphs ?
          That is simply too slow ?

          https://www.qcustomplot.com/index.php/demos/multiaxisdemo

          I Know this method, but there is a problem with this approach. Values of graphs are independent of eachother. I mean these graphs are not stacked above eachother with a fixed distance value of y. They are independent graphs. With this approach in your link, scaling on Y axis increases or decreases distance between each graph, but each of them has its own independent axis and zero line (gray dashed line in my image above)

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @MajidKamali
          Ok in that way.
          I dont recall seeing a widget that has this sort of multi graph.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved