Labels

org.appliedtopology.tda4j.plot.Labels
final case class Labels(title: Optional[String] = ..., subtitle: Optional[String] = ..., x: Optional[String] = ..., y: Optional[String] = ..., legend: Optional[String] = ..., color: Optional[String] = ..., caption: Optional[String] = ..., tag: Optional[String] = ..., description: Optional[String] = ...) extends Tweak

The words of a plot. Only what is given changes; Labels(x = "birth (cm)") leaves the title as it is.

Value parameters

caption

a line of text under the plot

color

the title of the color bar

description

what a screen reader says of the plot, the `` of the SVG

legend

a heading over the legend's entries

subtitle

the line under it

tag

the letter of a panel of a board, in the corner of the figure ("(a)")

title

the heading

x

the x axis label

y

the y axis label

Attributes

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

Members list

Value members

Concrete methods

override def onBoard(b: Board): Board

board with this change in every figure of it.

board with this change in every figure of it.

Attributes

Definition Classes
Source
Tweak.scala

figure with this change.

figure with this change.

Attributes

Source
Tweak.scala
override def onInteractive(page: Interactive): Interactive

page with this change in every panel of it; a tweak a 3-D panel cannot have leaves that panel as it is.

page with this change in every panel of it; a tweak a 3-D panel cannot have leaves that panel as it is.

Attributes

Definition Classes
Source
Tweak.scala
override def onScene(s: Scene): Scene

scene with this change: only tweaks of the labels, the size and the look apply to a 3-D scene.

scene with this change: only tweaks of the labels, the size and the look apply to a 3-D scene.

Attributes

Definition Classes
Source
Tweak.scala

Inherited methods

def +(that: Tweak): Tweak

This change, then that one.

This change, then that one.

Attributes

Inherited from:
Tweak
Source
Tweak.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