pub enum Scale {
Linear,
Log10,
Symlog,
}Expand description
Data-to-display transform applied per axis at replay.
The transform happens in display space: ticks, grid, artists, and
FigureView pixel mapping all share Axes::scaled_limits.
Variants§
Linear
Identity mapping.
Log10
Base-10 logarithm. Non-positive samples drop from artists; ticks land
on whole decades. Device-resident series (plot_matrix) cannot be
transformed host-side and require linear axes.
Symlog
Symmetric log: linear inside ±SYMLOG_LINTHRESH, logarithmic beyond.
Zero and negative data stay on the axis; ticks land on symmetric
decades plus zero.
Trait Implementations§
impl Copy for Scale
impl Eq for Scale
impl StructuralPartialEq for Scale
Auto Trait Implementations§
impl Forget for Scale
impl Freeze for Scale
impl Move for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnsafeUnpin for Scale
impl UnwindSafe for Scale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more