Mark

org.appliedtopology.tda4j.plot.Mark
See theMark companion trait
object Mark

Attributes

Companion
trait
Experimental
true
Source
Figure.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Mark.type

Members list

Type members

Classlikes

final case class Boxes(boxes: IndexedSeq[(Double, Double, Double, Double)], paints: IndexedSeq[Paint], opacity: Double = ..., tips: IndexedSeq[String] = ...) extends Mark

Axis-aligned boxes (x0, y0, x1, y1): heatmap cells, pixels.

Axis-aligned boxes (x0, y0, x1, y1): heatmap cells, pixels.

Attributes

Source
Figure.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
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.

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
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
final case class Discs(centers: IndexedSeq[XY], radius: Double, paints: IndexedSeq[Paint], opacity: Double = ..., tips: IndexedSeq[String] = ...) extends Mark

Discs of radius data units (balls around points: Cech and alpha at radius r, Vietoris-Rips at r / 2).

Discs of radius data units (balls around points: Cech and alpha at radius r, Vietoris-Rips at r / 2).

Attributes

Source
Figure.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
final case class Line(at: IndexedSeq[XY], paint: Paint, width: Double = ..., tip: String = ...) extends Mark

A polyline through at, 2 pixels wide.

A polyline through at, 2 pixels wide.

Attributes

Source
Figure.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
final case class Points(at: IndexedSeq[XY], paints: IndexedSeq[Paint], radius: Double = ..., shape: Shape = ..., tips: IndexedSeq[String] = ...) extends Mark

Markers of radius pixels, each with a 2-pixel ring in the surface color so overlapping markers stay legible.

Markers of radius pixels, each with a 2-pixel ring in the surface color so overlapping markers stay legible.

Attributes

Source
Figure.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
final case class Polygons(corners: IndexedSeq[IndexedSeq[XY]], paints: IndexedSeq[Paint], opacity: Double = ..., tips: IndexedSeq[String] = ...) extends Mark

Filled polygons (a simplex's triangle, a ball's outline), translucent by default so overlaps read as depth.

Filled polygons (a simplex's triangle, a ball's outline), translucent by default so overlaps read as depth.

Attributes

Source
Figure.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
final case class Region(box: (Double, Double, Double, Double), paint: Paint = ..., tip: String = ...) extends Mark

A rectangle (x0, y0, x1, y1) over part of the plot, a translucent fill with a dashed outline: a region of interest, or the rectangle a viewer has dragged out (PageState.brush). Like a Rule it takes no part in choosing the visible range.

A rectangle (x0, y0, x1, y1) over part of the plot, a translucent fill with a dashed outline: a region of interest, or the rectangle a viewer has dragged out (PageState.brush). Like a Rule it takes no part in choosing the visible range.

Attributes

Source
Figure.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
final case class Rule(at: Double, vertical: Boolean = ..., paint: Paint = ..., width: Double = ..., dashed: Boolean = ...) extends Mark

A line across the whole plot at one value: vertical at x = at, otherwise horizontal at y = at. A threshold, a scale of interest; it takes no part in choosing the visible range.

A line across the whole plot at one value: vertical at x = at, otherwise horizontal at y = at. A threshold, a scale of interest; it takes no part in choosing the visible range.

Attributes

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

Attributes

Companion
class
Source
Figure.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Rule.type
final case class Segments(ends: IndexedSeq[(XY, XY)], paints: IndexedSeq[Paint], width: Double = ..., opacity: Double = ..., roundCaps: Boolean = ..., tips: IndexedSeq[String] = ...) extends Mark

Line segments width pixels wide; roundCaps = false ends them square (barcode bars end exactly at their values).

Line segments width pixels wide; roundCaps = false ends them square (barcode bars end exactly at their values).

Attributes

Source
Figure.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Mark
class Object
trait Matchable
class Any
Show all
final case class Text(at: XY, text: String, paint: Paint = ..., anchor: Anchor = ..., dx: Double = ..., dy: Double = ..., size: Double = ...) extends Mark

Text at a data point, shifted by (dx, dy) pixels.

Text at a data point, shifted by (dx, dy) pixels.

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala