Plot a vector of Arrays

One possibility:

using Plots
a1 = [1 , 2 , 3]
a2 = [1,2]
a3 = [3,1]
A = [a1,a2,a3]
X = [ i*ones(length(a)) for (i,a) in pairs(A)]
scatter(X, A, ms=6, legend =:false)

scatter_array_plot

5 Likes