In MATLAB R2016a if you want to publish the output of an m-file you have to click on "Publish" tab at the top, and then click on the "Publish" button. I tried to publish my m-file (shown below),however, only 1 of 4 plots shows up in the pulished HTML file. How do you get all 4 plots to show up in the "published" output of the script below?
ezplot((x-1)^3*(x+2));
ezplot3(sin(t),cos(t),t);
P=[1,2,-3];Q = [1,0,2]; PQ = Q-P; l = t*PQ+P; ezplot3(l(1),l(2),l(3),0,1)
[x y] = meshgrid(-5:0.05:5);z = (2-x+2*y)/3; mesh(x,y,z); xlabel('x'); ylabel('y');zlabel('z');title('x - 2y + 3z = 2');