For this equation:
x + y + z = 1
2x - y + 3z = 4
Setup the axis:
X = linspace(-100,100,10);
Y = linspace(-100,100,10);
[ XX, YY ] = meshgrid(X,Y);
Calculating z coordinate for planes:
ZZ1 = 1 - XX - YY;
ZZ2 = 4/3 - 2/3 * XX + 1/3 *YY;
Displaying:
figure;
hold on;
mesh(XX,YY,ZZ1);
mesh(XX,YY,ZZ2);
Then r
to rotate the figure with mouse.
http://stackoverflow.com/questions/23041366/how-to-plot-2-planes-in-gnu-octave