MATLAB: How to modify the markers of a figure of the decaying function are squares instead of circle and set the line width of the other sinusoid to 2 instead of 4 graphicsMATLABplot property This is my code: x = 0:pi/20:4*pi; plot(x, sin(x)) hold on plot(x, exp(-0.1*x).*sin(x),'o') hold off Best Answer x = 0:pi/20:4*pi;plot(x, sin(x),'LineWidth',2)hold onplot(x, exp(-0.1*x).*sin(x),'s')hold off Related SolutionsMATLAB: Values instead of functions Do element-wise division as well: y=sin(3*r).^2./sin(r).^2; ↑ ← HEREThat should do what you want. MATLAB: Values instead of points Use plot(x,y)instead ofplot(y) Related QuestionPlotting letters instead of symbolsMy plots appear very faint when I print the plots using Ms Word platform. Please How to make the thickness of the lines appear after printing? Thanks. THE ANSWER WORKS. HOWEVER, THE AXES STILL LOOK FAINT AND PORTIONS OF THEM DISAPPEARED. HOW PLSFunction instead of polyvalFunction instead of discretize
Best Answer