DegreeStyle

org.appliedtopology.tda4j.plot.DegreeStyle
final case class DegreeStyle(color: Option[String] = ..., darkColor: Option[String] = ..., label: Option[String] = ..., shape: Option[Shape] = ..., marker: MarkerStyle = ...)

What to change about the look of one homological degree (more exactly, one categorical slot: the k-th landscape for Plot.landscape) wherever it appears in a figure: its mark color, its legend label and its marker shape. Whatever is None stays as the palette and the plot have it. marker changes the look of the degree's markers (size, opacity, open or filled, the edge), over the figure's own.

Value parameters

color

the color in light mode (and dark, unless darkColor is given)

darkColor

the color in dark mode

Attributes

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

Members list

Value members

Concrete methods

later over this one: what later sets wins. A new color without a darkColor is the color of both modes, not only of the light one beside an older dark one.

later over this one: what later sets wins. A new color without a darkColor is the color of both modes, not only of the light one beside an older dark one.

Attributes

Source
ColorScale.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