QCustomPlot Discussion and Comments

set tick manuallyReturn to overview

In the previous version, I used setTickVector and setTickVectorLabels to change the positions of major ticks manually. Is there a way to similarly define the locations of ticks and labels?

Thanks in advance

maybe this will help

See QCPAxisTicker documentation. Sounds like you might want to use one of the existing tickers like QCPAxisTickerFixed or QCPAxisTickerText. Alternatively, like mentioned above, make a small QCPAxisTicker subclass and freely control tick position and label.