MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / log

Method log

src/transform.rs:149–154  ·  view source on GitHub ↗

Convert a data value with `log_base(value)` before axis scaling.

(base: f64)

Source from the content-addressed store, hash-verified

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 {

Callers 3

transform_valueMethod · 0.80
log_formatterFunction · 0.80
log_tick_producerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected