tlienart / JSXGraph.jl

[wip] Julia bridge to JSXGraph for interactive plots
Other
17 stars 2 forks source link

scatter #1

Open tlienart opened 4 years ago

tlienart commented 4 years ago
var i, x, y, 
    x_arr = [], 
    y_arr = [];
for (i = 0; i < 1000; i++) {
    x = Math.random() * 8 - 4;
    y = Math.random() * 8 - 4;
    x_arr.push(x, x, NaN);
    y_arr.push(y, y, NaN);
 }
var scatterplot = board.create('curve', [x_arr, y_arr], {strokeWidth: 3});