Tuples and Points as data

Source code Author Update time

using Plots
pgfplotsx()
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)

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