Enum gnuplot::TickOption [−][src]
pub enum TickOption<T> { OnAxis(bool), Mirror(bool), Inward(bool), MinorScale(f64), MajorScale(f64), Format(T), }
Expand description
An enumeration of axis tick options
Variants
OnAxis(bool)
Specifies whether the ticks are drawn at the borders of the plot, or on the axis
Mirror(bool)
If the axes are drawn on the border, this specifies whether to draw the ticks on the opposite border as well
Inward(bool)
If the axes are drawn on the border, this specifies whether to draw the ticks pointing inward or outward
MinorScale(f64)
Sets the scale of the minor ticks
MajorScale(f64)
Sets the scale of the major ticks
Format of the tick labels, e.g. “%.1f ms” will produces labels with “1 ms, 2 ms” etc.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for TickOption<T> where
T: RefUnwindSafe,
impl<T> Send for TickOption<T> where
T: Send,
impl<T> Sync for TickOption<T> where
T: Sync,
impl<T> Unpin for TickOption<T> where
T: Unpin,
impl<T> UnwindSafe for TickOption<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more