Skip to content

ListPlot ​

Wolfram's own ListPlot, held inert -- the expression is what a worksheet or REPL draws, not something this library computes (see @enumeratio/formats/src/graphics.ts).

Wolfram LanguageListPlot
ListPlot(...)Wolfram's own ListPlot, held inert -- the expression is what a worksheet or REPL draws, not something this library computes (see @enumeratio/formats/src/graphics.ts).
Typed signatures
TypePackageApplies
(any*) -> anyformatsalways

Domain: Graphics·Drawn as Graphics

Examples

Basic #

A bare list of numbers plots as index against value

live ↗
InListPlot([3,1,4,1,5,9,2,6])\mathrm{ListPlot}(\bigl\lbrack3, 1, 4, 1, 5, 9, 2, 6\bigr\rbrack)OutListPlot([3,1,4,1,5,9,2,6])\mathrm{ListPlot}(\bigl\lbrack3, 1, 4, 1, 5, 9, 2, 6\bigr\rbrack)

A list of (x, y) pairs is drawn as dots at their own coordinates

live ↗
InListPlot([(1,1),(2,4),(3,9),(4,16),(5,25)])\mathrm{ListPlot}(\bigl\lbrack(1,1), (2,4), (3,9), (4,16), (5,25)\bigr\rbrack)OutListPlot([(1,1),(2,4),(3,9),(4,16),(5,25)])\mathrm{ListPlot}(\bigl\lbrack(1,1), (2,4), (3,9), (4,16), (5,25)\bigr\rbrack)
About
Examples2
CrosswalkWolfram Language