Guide

org.appliedtopology.tda4j.plot.Guide
object Guide

The guides a plot draws for itself, which are not axes or text: the plot area's own fill, and the diagonal of a persistence diagram with its shaded half plane.

Attributes

Experimental
true
Source
ElementTweaks.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Guide.type

Members list

Value members

Concrete methods

def diagonal(shade: Optional[Boolean] = ..., shadeColor: Optional[String] = ..., shadePaint: Optional[Paint] = ..., shadeOpacity: Optional[Double] = ..., color: Optional[String] = ..., paint: Optional[Paint] = ..., width: Optional[Double] = ..., dashed: Optional[Boolean] = ...): Tweak

The diagonal y = x of a persistence diagram and the half plane below it, where nothing can be (a bar dies after it is born). shade = false draws no half plane, shade = true the default one; shadeColor or shadePaint and shadeOpacity change it; color or paint, width and dashed the line. A figure without a diagonal is left as it is.

The diagonal y = x of a persistence diagram and the half plane below it, where nothing can be (a bar dies after it is born). shade = false draws no half plane, shade = true the default one; shadeColor or shadePaint and shadeOpacity change it; color or paint, width and dashed the line. A figure without a diagonal is left as it is.

Attributes

Source
ElementTweaks.scala
def legend(box: Optional[Boolean] = ..., background: Optional[String] = ..., backgroundPaint: Optional[Paint] = ..., opacity: Optional[Double] = ..., frame: Optional[Boolean] = ..., frameColor: Optional[String] = ..., framePaint: Optional[Paint] = ..., frameWidth: Optional[Double] = ..., padding: Optional[Double] = ..., columns: Optional[Int] = ...): Tweak

The legend's box and columns. A legend has no box unless asked for: box = true gives it the page's own color, a little see-through (opacity 0.9), and a thin frame; background (a CSS color) or backgroundPaint and opacity set the fill, frame and frameColor or framePaint and frameWidth the line round it, padding the room inside, in pixels (6). Giving a fill or a frame turns the box on; box = false takes it away.

The legend's box and columns. A legend has no box unless asked for: box = true gives it the page's own color, a little see-through (opacity 0.9), and a thin frame; background (a CSS color) or backgroundPaint and opacity set the fill, frame and frameColor or framePaint and frameWidth the line round it, padding the room inside, in pixels (6). Giving a fill or a frame turns the box on; box = false takes it away.

columns puts the entries in that many columns, filled one column before the next (a legend of seven entries in three columns is 3, 3, 1). A legend never takes more than two fifths of the figure's width beside the plot or more than the plot area's width above, below or inside it: the columns that do not fit are given up.

Attributes

Source
ElementTweaks.scala
def panel(color: Optional[String] = ..., paint: Optional[Paint] = ..., opacity: Optional[Double] = ..., visible: Optional[Boolean] = ...): Tweak

The fill of the plot area, behind the gridlines and marks (color, or a palette paint; opacity 0 to 1, default 0.5 over the figure's own background); visible = false removes it.

The fill of the plot area, behind the gridlines and marks (color, or a palette paint; opacity 0 to 1, default 0.5 over the figure's own background); visible = false removes it.

Attributes

Source
ElementTweaks.scala