Snapshot

org.appliedtopology.tda4j.plot.Snapshot
final case class Snapshot(parts: Vector[Plot], title: String = ..., heading: String = ..., values: Map[String, Double] = ..., selected: Map[String, Set[Int]] = ...) extends Plot

The still picture of an Interactive at some values of its controls: its panels side by side under a heading that says the values. A plot like any other (save, view, svgFile).

Attributes

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

Members list

Value members

Concrete methods

def fragment(theme: Theme = ...): String

The plot as a fragment to embed in a page (an ``, or a `

The plot as a fragment to embed in a page (an ``, or a `

` with its own script for 3-D).

Attributes

Source
Interactive.scala
def html(theme: Theme = ...): String

A complete HTML page, following the reader's light or dark setting under Theme.Auto.

A complete HTML page, following the reader's light or dark setting under Theme.Auto.

Attributes

Source
Interactive.scala
def svgFile(theme: Theme = ...): String

A complete SVG document in plain colors (for a 3-D scene: one fixed view), with no background unless the style asks for one (Style.print, or Style.transparent = false), so that it takes the color of the page it goes onto.

A complete SVG document in plain colors (for a 3-D scene: one fixed view), with no background unless the style asks for one (Style.print, or Style.transparent = false), so that it takes the color of the page it goes onto.

Attributes

Source
Interactive.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Interactive.scala

Inherited methods

def fragment(theme: String): String

fragment in the theme called theme (auto, light or dark), for callers that have a word, not a Theme (Python: a notebook shows an interactive plot by its fragment).

fragment in the theme called theme (auto, light or dark), for callers that have a word, not a Theme (Python: a notebook shows an interactive plot by its fragment).

Attributes

Inherited from:
Plot
Source
Plot.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
def save(path: String, theme: String): String

save in the theme called theme (auto, light or dark), for callers that have a word, not a Theme (MATLAB: fig.save('diagram.svg', 'dark')).

save in the theme called theme (auto, light or dark), for callers that have a word, not a Theme (MATLAB: fig.save('diagram.svg', 'dark')).

Attributes

Inherited from:
Plot
Source
Plot.scala
def save(path: String): String

save in the default theme for the file type, for callers that cannot use a default argument (Java, MATLAB: fig.save('diagram.svg')).

save in the default theme for the file type, for callers that cannot use a default argument (Java, MATLAB: fig.save('diagram.svg')).

Attributes

Inherited from:
Plot
Source
Plot.scala
def save(path: String, theme: Option[Theme] = ...): String

Writes the plot to path: an .svg file in plain light colors with no background (another theme on request; see svgFile), or an .html page (interactive for 3-D) that follows the reader's light or dark setting and has its background. Returns the absolute path.

Writes the plot to path: an .svg file in plain light colors with no background (another theme on request; see svgFile), or an .html page (interactive for 3-D) that follows the reader's light or dark setting and has its background. Returns the absolute path.

Attributes

Inherited from:
Plot
Source
Plot.scala
def view(): this.type

Shows the plot in the live viewer, a browser tab that adds every plot view()ed (see Viewer). Inside Plot.viewWith the plot goes to the program that hosts the session instead.

Shows the plot in the live viewer, a browser tab that adds every plot view()ed (see Viewer). Inside Plot.viewWith the plot goes to the program that hosts the session instead.

Attributes

Inherited from:
Plot
Source
Plot.scala