NumberStyle

org.appliedtopology.tda4j.plot.NumberStyle
See theNumberStyle companion object
final case class NumberStyle(decimal: Option[String] = ..., grouping: Option[String] = ..., minus: Option[String] = ...)

How the numbers of tick labels and color bars are written: the decimal separator, a separator between groups of three digits (none unless given) and the minus sign ("−", the typographic one, is a common wish). Whatever is None stays as it is: ., no grouping, -.

Attributes

Companion
object
Experimental
true
Source
Elements.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply(text: String): String

text with each number in it written as this style has it: -1234.5 with −, , and a space is −1 234,5; a number with an exponent (1e-4) keeps it, with the minus sign; what is not a number (H0, ∞) is left alone.

text with each number in it written as this style has it: -1234.5 with −, , and a space is −1 234,5; a number with an exponent (1e-4) keeps it, with the minus sign; what is not a number (H0, ∞) is left alone.

Attributes

Source
Elements.scala
def isDefault: Boolean

Attributes

Source
Elements.scala

Attributes

Source
Elements.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala