Skip to content

Instantly share code, notes, and snippets.

@lidangzzz
Last active April 4, 2021 18:56
Show Gist options
  • Save lidangzzz/b9c3f622fe1ff8857f06d3d09dda9be2 to your computer and use it in GitHub Desktop.
Save lidangzzz/b9c3f622fe1ff8857f06d3d09dda9be2 to your computer and use it in GitHub Desktop.
my_demo.hhs
// generate 2D points as vectors of x and y
x = range(-10,10,0.1);
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