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. using QScatter in QGraphics gui

using QScatter in QGraphics gui

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 167 Views 1 Watching
  • 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.
  • E Offline
    E Offline
    emeka_o
    wrote on last edited by
    #1

    is it possible to plot the scatter plots that was used to get the line of regression for gui?
    series0=new QScatterSeries();
    series0->setName("scatter1");
    series0->setMarkerShape(QScatterSeries::MarkerShapeCircle);
    series0->setMarkerSize(12.0);

    for (int i=0; i<xcolumn.size();i++){
    series0->append(x_pix2dataxcolumn[i],-1y_pix2data*ycolumn[i]);
    }

    i created this to store the scatter plots but i cant add it to graphics view using scene->addItem(series0).
    HELP PLEASE

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Why don't you add that series to a chart ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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