新版本的 setTickStep setTickVector 都沒有了, 怎么定制刻度的步長 ???
uj5u.com熱心網友回復:
QSharedPointer<QCPAxisTickerFixed> intTicker( new QCPAxisTickerFixed ); intTicker->setTickStep( 64.0 ); //intTicker->setScaleStrategy( QCPAxisTickerFixed::ssMultiples ); customPlot->xAxis->setTicker( intTicker ) ;uj5u.com熱心網友回復:
我也正糾結呢,沒有找到自定義刻度的介面轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/256047.html
標籤:其他技術討論專區
上一篇:筆記記錄
