MarkerStyle

org.appliedtopology.tda4j.plot.MarkerStyle
See theMarkerStyle companion class
object MarkerStyle

Attributes

Companion
class
Experimental
true
Source
Markers.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def named(spec: String): MarkerStyle

The marker written as spec, for MATLAB, Java and the command line, which have no Shape to pass:

The marker written as spec, for MATLAB, Java and the command line, which have no Shape to pass:

  • a name, in any case: circle, triangle (triangle-up), triangle-down, triangle-left, triangle-right, square, diamond, pentagon, hexagon, star, dot, plus, cross, vline, hline;
  • a matplotlib code: o . , ^ v &lt; > s p h H * + P x X D d | _;
  • an R or ggplot pch number, pch:16 or a bare 0 to 25: 0 to 14 are open shapes (the composite ones, 7 and 9 to 14, drawn as their outer shape), 15 to 25 filled; so pch:1 is an open circle (fill = false);
  • glyph:text, a few characters of text as the marker (glyph:★), and any other single character is a glyph.

A code wins over a glyph: write glyph:x for the letter. Anything else says what it could have been.

Attributes

Source
Markers.scala