Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
A scale satisfies Interface if it maps from some input range to an output interval [0, 1].
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
func NewLog ¶
NewLog returns a new logarithmic scale.
base has no effect on the scaling. It is only used for computing tick marks.
type OutputScale ¶
type OutputScale struct {
// contains filtered or unexported fields
}
func NewOutputScale ¶
func NewOutputScale(min, max float64) OutputScale
func (*OutputScale) Clamp ¶
func (s *OutputScale) Clamp()
func (*OutputScale) Crop ¶
func (s *OutputScale) Crop()
func (*OutputScale) Unclamp ¶
func (s *OutputScale) Unclamp()
Click to show internal directories.
Click to hide internal directories.