My current goal is to replicate such a plot using QCP: http://www.ecglibrary.com/ecgs/norm.png
Please note that the Grid and SubGrid are at fixed points, this is how a human reader is able to determine the time between two samples in the signal.
My current issue is setting this fixed point Grid and SubGrid, and as I understand it, this is done using the QCPAxisTicker.
I am not sure how to do this as I am a bit lost in the world of C++, especially without examples, could anyone tell me how I could configure (and set this to myPlot->xAxis):
- a QCPAxisTickerFixed (or another type of QCPAxisTicker that would work, such as the Time one);
- a TickCount that is set to X ( X is determined by the signal length that I have access to);
- a SubTickCount set to Y (for example, Y = 4);
Thank you very much,