Geom

org.appliedtopology.tda4j.plot.Geom
object Geom

What to change about how the marks of a plot are drawn, by kind of mark: the points (Geom.points: shape, size, opacity, open or filled, and the edge, which can be removed), the segments (Geom.segments: the bars of a barcode, the edges of a complex), the polygons and discs, and lines. Each changes only what it is given, in every mark of the kind the figure has, and leaves a figure without any as it is:

Plot.diagram(d).withPoints(size = 3.5, opacity = 0.6, edgeVisible = false)
Plot.barcode(d).withSegments(width = 3)

A single degree's markers are changed with Scale.degree(k, marker = MarkerStyle(...)).

Attributes

Experimental
true
Source
Markers.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Geom.type

Members list

Value members

Concrete methods

def discs(opacity: Optional[Double] = ...): Tweak

The discs (the balls of a Cech or alpha complex): opacity.

The discs (the balls of a Cech or alpha complex): opacity.

Attributes

Source
Markers.scala
def lines(width: Optional[Double] = ...): Tweak

The polylines (a cycle, a landscape): width in pixels.

The polylines (a cycle, a landscape): width in pixels.

Attributes

Source
Markers.scala
def points(shape: Optional[Shape] = ..., size: Optional[Double] = ..., opacity: Optional[Double] = ..., fill: Optional[Boolean] = ..., edgeWidth: Optional[Double] = ..., edgeColor: Optional[String] = ..., edgePaint: Optional[Paint] = ..., edgeOpacity: Optional[Double] = ..., edgeDash: Optional[Dash] = ..., edgeVisible: Optional[Boolean] = ...): Tweak

The markers of every figure's points: shape (Shape; for a string, Shape.named), size the radius in pixels, opacity of the whole marker, fill = false for open markers, and the edge: edgeWidth (0 for none), edgeColor (a CSS color) or edgePaint (a palette role), edgeOpacity, edgeDash, edgeVisible = false to remove it. A marker's edge is a ring in the surface color unless it is open, or a stroke (plus, cross), when it is the marker's own color.

The markers of every figure's points: shape (Shape; for a string, Shape.named), size the radius in pixels, opacity of the whole marker, fill = false for open markers, and the edge: edgeWidth (0 for none), edgeColor (a CSS color) or edgePaint (a palette role), edgeOpacity, edgeDash, edgeVisible = false to remove it. A marker's edge is a ring in the surface color unless it is open, or a stroke (plus, cross), when it is the marker's own color.

Attributes

Source
Markers.scala
def polygons(opacity: Optional[Double] = ...): Tweak

The filled polygons (a complex's triangles): opacity.

The filled polygons (a complex's triangles): opacity.

Attributes

Source
Markers.scala
def segments(width: Optional[Double] = ..., opacity: Optional[Double] = ...): Tweak

The line segments (a barcode's bars, a complex's edges): width in pixels, opacity.

The line segments (a barcode's bars, a complex's edges): width in pixels, opacity.

Attributes

Source
Markers.scala