Two beginner questions
First Question
I have been able to create colormaps and to create scatterplots, however it seems that regardless of how I build them the colormap is sitting on top or overwriting the scatterplot.
A.
customPlot ->addGraph();
customPlot ->graph(0)->setPen(pen);
customPlot ->graph(0)-> setData(x,y);
...
then
B.
static QCPColorMap *colorMap = new QCPColorMap(customPlot->xAxis, ui->customPlot->yAxis);
colorMap->data()->setSize(nx, ny)
...
colorMap->replot()
All I see is the colormap. If i reverse the sequence (B then A), same story.
Second Question
I would like to iterate and adapt the colormap leavint t