- If you want a scatter plot, you can get the x and y coordinates as
X = [xj for _  in y, xj in x]
Y = [yi for yi in y, _  in x]
scatter( X[:], Y[:], Z[:] )
(See for example Meshgrid function in Julia - #26 by henry2004y)
- Maybe you are also interested in a surface plot, see surface. Here you can directly use your data x, y, z.
More a side note, if you don’t want to create the vectors X and Y you could use GitHub - JuliaArrays/LazyGrids.jl: A Julia package for representing multi-dimensional grids