Expand description
The coordinate combinators
Coordinate combinators are very important part of Plotters’ coordinate system. The combinator is more about the “combinator pattern”, which takes one or more coordinate specification and transform them into a new coordinate specification.
Structs§
- Grouping the value in the coordinate specification.
- The coordinate combinator that transform a continuous coordinate to a discrete coordinate to a discrete coordinate by a giving step.
- A log scaled coordinate axis
- LogRange
Deprecated The logarithmic coordinate decorator. This decorator is used to make the axis rendered as logarithmically. - A nested coordinate spec which is a discrete coordinate on the top level and for each value in discrete value, there is a secondary coordinate system. And the value is defined as a tuple of primary coordinate value and secondary coordinate value
- The coordinate decorator that allows customized keypoint algorithms. Normally, all the coordinate spec implements its own key point algorithm But this decorator allows you override the pre-defined key point algorithm.
- The coordinate decorator that binds a key point vector. Normally, all the ranged coordinate implements its own keypoint algorithm to determine how to render the tick mark and mesh grid. This decorator allows customized tick mark specifiied by vector. See BindKeyPoints::with_key_points for details. Note: For any coordinate spec wrapped by this decorator, the maximum number of labels configured by MeshStyle will be ignored and the key point function will always returns the entire vector
Enums§
- Describe a value for a nested coordinate
Traits§
- Bind an existing coordinate spec with a given key points algorithm. See WithKeyPointMethod for more details.
- Bind a existing coordinate spec with a given key points vector. See WithKeyPoints for more details.
- Used to build a nested coordinate system.
- Makes a linspace coordinate from the ranged coordinates.
- Convert a range to a log scale coordinate spec
- The trait for the types that can be converted into a partial axis
- The trait for the type that is able to be presented in the log scale. This trait is primarily used by LogRangeExt.
- The trait that provides method
Self::group_by
function which creates aGroupBy
decorated ranged value.
Functions§
- Make a partial axis based on the percentage of visible portion. We can use
into_partial_axis
to create a partial axis range specification. But sometimes, we want to directly specify the percentage visible to the user.