![SOLVED: Which option is the correct code that produces the following plot? “`matlab clear, clc, clf % reset windows x = -1:0.1*pi:2*pi+1; % angle plot x, sin(x), 'g–', x, cos(x) % figure; SOLVED: Which option is the correct code that produces the following plot? “`matlab clear, clc, clf % reset windows x = -1:0.1*pi:2*pi+1; % angle plot x, sin(x), 'g–', x, cos(x) % figure;](https://cdn.numerade.com/ask_images/d95f21f2c58146f4967852d3e40fecff.jpg)
SOLVED: Which option is the correct code that produces the following plot? “`matlab clear, clc, clf % reset windows x = -1:0.1*pi:2*pi+1; % angle plot x, sin(x), 'g–', x, cos(x) % figure;
![SOLVED: Matlab, need both graphs to be on the same figure together. Separately, they print as expected, but together the first function is just a flat line, which is incorrect. clc; clear; SOLVED: Matlab, need both graphs to be on the same figure together. Separately, they print as expected, but together the first function is just a flat line, which is incorrect. clc; clear;](https://cdn.numerade.com/ask_images/221dd4365fa54b92982fce3c7e12dbe3.jpg)
SOLVED: Matlab, need both graphs to be on the same figure together. Separately, they print as expected, but together the first function is just a flat line, which is incorrect. clc; clear;
![how to clear all the data(graph) from the axes in matlab | erase all the plot from figure or axes - YouTube how to clear all the data(graph) from the axes in matlab | erase all the plot from figure or axes - YouTube](https://i.ytimg.com/vi/I5LMzxmqZFA/maxresdefault.jpg)