我正在使用 qCustomPlot 库来绘制图表 . 我想在日志缩放图上显示子句的编号 .

customPlot->xAxis->setSubTickCount(8);
customPlot->xAxis->setScaleType(QCPAxis::stLogarithmic);          
customPlot->xAxis->setScaleLogBase(10);

使用代码,我只能显示主要刻度的标签,例如 . (10,100,1000,10000) . 但是,我想展示一下subicks的编号 . 例如,在主要的10和100之间,我想显示20,30,50 . 我应该怎么做?或's not possible to show subticks'标签 qCustomPlot

提前致谢 .