Last active
December 14, 2020 00:22
-
-
Save lidangzzz/168cc7bda54881569bda699a6d52bcca to your computer and use it in GitHub Desktop.
demo_2.hhs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// generate 2D points as vectors of x and y | |
let x = range(-10,10,0.1); | |
let y = sin(x) + random(1,x.cols); | |
// plot x and y as scatter | |
plot2D(x,y); | |
// ploy x and y as line | |
plot2DLine(x,y); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment