QCustomPlot Discussion and Comments

setSubTickCount doesn't workReturn to overview

Why

graphTimp->xAxis->setSubTickCount(10);

doesn't work?

setSubTickCount does't exist in QT.
How can I set de number of subTicks?

Thanks
Enrique

If you read the first section of the Basic Plotting tutorial, you'll learn about QCPAxisTicker (documentation)

setSubTickCount was an old feature of QCP 1.x which was superseded in QCP 2 by the axis ticker system. Here, sub-ticks are automatically chosen appropriately to the specified ticker type and tick step.