Hey guys,
I'm trying to create a real time 3 axis plot of some data I am getting through a USB port. Could anyone point me in the correct direction as to how I can set this up.
I have written the following code which creates 3 different sets of axes in my layout.
customPlot->plotLayout()->clear(); QCPLayoutGrid *subLayout = new QCPLayoutGrid; customPlot->plotLayout()->addElement(0, 0, subLayout); QCPAxisRect *x = new QCPAxisRect(customPlot); QCPAxisRect *y = new QCPAxisRect(customPlot); QCPAxisRect *z = new QCPAxisRect(customPlot); subLayout->addElement(0, 0, x); subLayout->addElement(0, 1, y); subLayout->addElement(0, 2, z);
I am wondering how I can plot to/set properties of these figures?
Thanks in advance