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
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
http://www.qcustomplot.com/index.php/support/forum/1257
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.