Size

org.appliedtopology.tda4j.plot.Size
See theSize companion object
final case class Size(width: Optional[Int] = ..., height: Optional[Int] = ...) extends Tweak

The size of a plot in pixels, width by height. Only what is given changes (Size(width = 900)); the plot area takes what the margins leave. The plots choose a height that suits what they draw (a barcode grows with its bars), so give both numbers to fix both.

Attributes

Companion
object
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

figure with this change.

figure with this change.

Attributes

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 onBoard(board: Board): Board

board with this change in every figure of it.

board with this change in every figure of it.

Attributes

Inherited from:
Tweak
Source
Tweak.scala

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

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