MATLAB - 2D Plotting
What will the legend display after running this code?
x = 1:3;
y1 = [2 4 6];
y2 = [1 3 5];
plot(x, y1, x, y2);
legend('Line A', 'Line B');
x = 1:3;
y1 = [2 4 6];
y2 = [1 3 5];
plot(x, y1, x, y2);
legend('Line A', 'Line B');
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions