Scatter

using CairoMakie, Distributions
using Random
Random.seed!(1234)
d = Normal()
b = Binomial(15, 0.7)
n = 350
scatter(rand(d,n), rand(b, n);
    markersize = 12*abs.(rand(d, n)),
    color = tuple.(:orangered, rand(n)),
    strokewidth = 0.5,
    strokecolor = :white,
    axis = (;
        xlabel = "x", ylabel = "y"),
    figure = (;
        resolution = (600,400))
    );

Warning

This example was autogenerated using:

using Pkg
Pkg.status(["CairoMakie", "Distributions"])
Status `~/work/BeautifulMakie/BeautifulMakie/docs/Project.toml`
  [13f3f980] CairoMakie v0.10.6
  [31c24e10] Distributions v0.25.96

This page was generated using Literate.jl.