! Sets the logarithm base used for tick coordinate generation. The ticks will be placed at integer powers of \a base. */
| 7040 | powers of \a base. |
| 7041 | */ |
| 7042 | void QCPAxisTickerLog::setLogBase(double base) |
| 7043 | { |
| 7044 | if (base > 0) |
| 7045 | { |
| 7046 | mLogBase = base; |
| 7047 | mLogBaseLnInv = 1.0/qLn(mLogBase); |
| 7048 | } else |
| 7049 | qDebug() << Q_FUNC_INFO << "log base has to be greater than zero:" << base; |
| 7050 | } |
| 7051 | |
| 7052 | /*! |
| 7053 | Sets the number of sub ticks in a tick interval. Within each interval, the sub ticks are spaced |
nothing calls this directly
no outgoing calls
no test coverage detected