Samples
it.grypho.scala.leonardo.cli.Session.Samples
A completed sampling: the points, and the text they came from.
The two strings are carried because a plot has to say what it is showing — they title the axes — and the alternative was for the caller to split the command a second time to recover them. A second parse of the same text is exactly the sort of duplicate this codebase removes on sight: the two could disagree, and then a figure would be labelled with something other than what it plots.
Value parameters
- expr
-
the expression as the user typed it
- points
-
the
(x, y)pairs, with non-finite results already dropped - variable
-
the name sampled over
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article