Tuples and Points as data

Source code Author Update time

using Plots
gaston()
using GeometryBasics, Distributions
d = MvNormal([1.0 0.75; 0.75 2.0])
plot([(1, 2), (3, 2), (2, 1), (2, 3)])
scatter!(Point2.(eachcol(rand(d, 1000))), alpha = 0.25)
Gnuplot Produced by GNUPLOT 5.4 patchlevel 2 -4 -2 0 2 4 -3 -2 -1 0 1 2 3 y1 y2 y1 y1 y2 y2

This page was generated using DemoCards.jl and Literate.jl.