Diagonal

org.appliedtopology.tda4j.plot.Mark.Diagonal
final case class Diagonal(offset: Double = ..., paint: Paint = ..., width: Double = ..., dashed: Boolean = ..., shade: Option[Paint] = ..., shadeOpacity: Double = ...) extends Mark

The line y = x + offset across the whole plot, with the region below the line shaded when shade is given: a persistence diagram's diagonal, or (offset > 0, dashed) the line above which a bar persists longer than offset. It is drawn in the plot's own scales, so it stays the line y = x on log axes, and it takes no part in choosing the visible range.

Attributes

Source
Figure.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def paints: IndexedSeq[Paint]

Attributes

Source
Figure.scala
def tips: IndexedSeq[String]

Attributes

Source
Figure.scala

Inherited methods

final def paintAt(i: Int): Paint

Attributes

Inherited from:
Mark
Source
Figure.scala
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
final def tipAt(i: Int): Option[String]

Attributes

Inherited from:
Mark
Source
Figure.scala