I have a vector of vector elements, given as follows:
sol=[[1,2,3],[1,1,1],[4,3,2],[5,1,3],[9,4,1]];
plot(sol)
The above code snippet plots in julia assuming that sol has 3 measurements, and each measurement has 5 components. Performing typeof(sol)
would give this: Vector{Vector{Int64}} (alias for Array{Array{Int64, 1}, 1})
Instead, my data actually has actually has 5 measurements, and 3 components. I’ve included the desired plot (from MATLAB.)
How can I plot the same in Julia? Thanks!