Stem
The following code:
import gr
import sequtils, sugar, math
let x = linRange(-2.0, 2.0, 40)
let y = x.map(x => x^3 + x^2 + x)
stem(x,y)
discard readLine(stdin)
grm_finalize()
creates the following window:
The following code:
import gr
import sequtils, sugar, math
let x = linRange(-2.0, 2.0, 40)
let y = x.map(x => x^3 + x^2 + x)
stem(x,y)
discard readLine(stdin)
grm_finalize()
creates the following window: