Im trying to plot a linear combination in a 3d plane, subset of two vectors, with julia and plots and I’m failing with this tasks. Julia plots works a bit different than matplotlib.
What is the correct way to do that?
# x-axis range
xlim = [-4,4];
a = [3, 5, 1];
b = [0, 2, 2];
xscalars = rand(xlim:xlim, 100);
yscalars = rand(xlim:xlim, 100);
c = [(a * xs) + (b .* ys) for (xs, ys) in zip(xscalars, yscalars)];
scatter(a, b, c)