MATLAB - 2D Plotting
What will be the title of the plot after running this MATLAB code?
plot(1:5, [2 4 6 8 10]);
title('Sales Over Time');
plot(1:5, [2 4 6 8 10]);
title('Sales Over Time');
title function sets the main heading of the plot to the given string.title('Sales Over Time'), so the plot's title will be exactly 'Sales Over Time'.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions