Convert a data value with `log_base(value)` before axis scaling.
(base: f64)
| 147 | |
| 148 | /// Convert a data value with `log_base(value)` before axis scaling. |
| 149 | pub const fn log(base: f64) -> Self { |
| 150 | Self { |
| 151 | coordinate_system: CoordinateSystem::Data, |
| 152 | operation: TransformOperation::Log { base }, |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | /// Convert a data value with `base.powf(value)` before axis scaling. |
| 157 | pub const fn exp(base: f64) -> Self { |
no outgoing calls
no test coverage detected